mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Pass arguments by reference
This commit is contained in:
@@ -66,7 +66,7 @@ struct ModSpec
|
||||
bool is_modpack;
|
||||
// if modpack:
|
||||
std::map<std::string,ModSpec> modpack_content;
|
||||
ModSpec(const std::string name_="", const std::string path_=""):
|
||||
ModSpec(const std::string &name_="", const std::string &path_=""):
|
||||
name(name_),
|
||||
path(path_),
|
||||
depends(),
|
||||
|
Reference in New Issue
Block a user