1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 17:35:37 +02:00

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
This commit is contained in:
Loïc Blot
2017-04-20 00:12:52 +02:00
committed by GitHub
parent f3fe62a0bf
commit f98bbe193e
25 changed files with 182 additions and 182 deletions

View File

@@ -39,8 +39,8 @@ public:
void step();
// Pass async events from engine to async threads
unsigned int queueAsync(std::string serialized_func,
std::string serialized_params);
unsigned int queueAsync(const std::string &serialized_func,
const std::string &serialized_params);
private:
void initializeModApi(lua_State *L, int top);