summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index a0601d692..3be753529 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -200,7 +200,9 @@ public:
void updateTexturePos();
- void updateTextures(const std::string &mod);
+ // std::string copy is mandatory as mod can be a class member and there is a swap
+ // on those class members
+ void updateTextures(std::string mod);
void updateAnimation();