]> git.lizzy.rs Git - dragonfireclient.git/commit
Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 19 Apr 2017 22:12:52 +0000 (00:12 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2017 22:12:52 +0000 (00:12 +0200)
commitf98bbe193e0093aca8d8957cec82fdbd28639915
tree19879fbca595d4e8cddfa8d7d069b7f78016a713
parentf3fe62a0bf9e775b3e6e838f104ab605a2238792
Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)

* Also remove 2 non declared but defined functions
* Make some functions around const ref changes const
25 files changed:
src/client/joystick_controller.cpp
src/client/joystick_controller.h
src/clientiface.h
src/genericobject.cpp
src/genericobject.h
src/guiEngine.cpp
src/guiEngine.h
src/guiFormSpecMenu.cpp
src/guiFormSpecMenu.h
src/guiTable.h
src/httpfetch.cpp
src/httpfetch.h
src/map.cpp
src/map.h
src/network/connection.h
src/nodedef.h
src/pathfinder.cpp
src/porting.cpp
src/script/cpp_api/s_async.cpp
src/script/cpp_api/s_async.h
src/script/scripting_mainmenu.cpp
src/script/scripting_mainmenu.h
src/sound.h
src/util/string.h
src/util/thread.h