diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-04 21:43:54 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-04 21:48:04 +0100 |
commit | e6ea58e49ee079772e0a0796cdfb5151af316a6b (patch) | |
tree | 69057f5d20805f3579f068a06403a6262a1cf3a4 /avmedia/source/vlc/wrapper/Instance.hxx | |
parent | Make CppunitTest_sw_rtfimport use DECLARE_SW_IMPORT_TEST() (diff) | |
download | core-e6ea58e49ee079772e0a0796cdfb5151af316a6b.tar.gz core-e6ea58e49ee079772e0a0796cdfb5151af316a6b.zip |
cppcheck: fix '<type>::operator=' should return '<type> &'.
See http://nabble.documentfoundation.org/About-quot-assignment-operators-quot-cppcheck-warning-td4081208.html
Change-Id: Ie351058a30c5d2df5f5ec1327c575e129d022cd2
Diffstat (limited to 'avmedia/source/vlc/wrapper/Instance.hxx')
-rw-r--r-- | avmedia/source/vlc/wrapper/Instance.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/wrapper/Instance.hxx b/avmedia/source/vlc/wrapper/Instance.hxx index 0f8c6f987989..0432bf14c9c6 100644 --- a/avmedia/source/vlc/wrapper/Instance.hxx +++ b/avmedia/source/vlc/wrapper/Instance.hxx @@ -24,7 +24,7 @@ namespace wrapper static bool LoadSymbols(); Instance( int argc, const char * const argv[] ); Instance( const Instance& other ); - const Instance& operator=( const Instance& other ); + Instance& operator=( const Instance& other ); virtual ~Instance(); inline operator libvlc_instance_t*() |