mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix various variables passed by copy instead of const ref (#5610)
Pointed by cppcheck
This commit is contained in:
@@ -1313,7 +1313,7 @@ void GenericCAO::updateTexturePos()
|
||||
}
|
||||
}
|
||||
|
||||
void GenericCAO::updateTextures(const std::string mod)
|
||||
void GenericCAO::updateTextures(const std::string &mod)
|
||||
{
|
||||
ITextureSource *tsrc = m_client->tsrc();
|
||||
|
||||
|
Reference in New Issue
Block a user