mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix various variables passed by copy instead of const ref (#5610)
Pointed by cppcheck
This commit is contained in:
@@ -57,7 +57,7 @@ extern gui::IGUIEnvironment* guienv;
|
||||
Client::Client(
|
||||
IrrlichtDevice *device,
|
||||
const char *playername,
|
||||
std::string password,
|
||||
const std::string &password,
|
||||
MapDrawControl &control,
|
||||
IWritableTextureSource *tsrc,
|
||||
IWritableShaderSource *shsrc,
|
||||
|
Reference in New Issue
Block a user