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:
@@ -391,7 +391,7 @@ public:
|
||||
}
|
||||
|
||||
/* If buffer does not exist, consult the fetcher */
|
||||
SoundBuffer* getFetchBuffer(const std::string name)
|
||||
SoundBuffer* getFetchBuffer(const std::string &name)
|
||||
{
|
||||
SoundBuffer *buf = getBuffer(name);
|
||||
if(buf)
|
||||
|
Reference in New Issue
Block a user