summaryrefslogtreecommitdiff
path: root/src/sound_openal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_openal.cpp')
-rw-r--r--src/sound_openal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp
index 0cfbc2798..d27526b55 100644
--- a/src/sound_openal.cpp
+++ b/src/sound_openal.cpp
@@ -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)