From cf37a5569002e83cc4d6916b39118ceba134da1b Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 19 Apr 2017 00:36:30 +0200 Subject: Fix various variables passed by copy instead of const ref (#5610) Pointed by cppcheck --- src/content_cao.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content_cao.h') diff --git a/src/content_cao.h b/src/content_cao.h index f30e90e21..a0601d692 100644 --- a/src/content_cao.h +++ b/src/content_cao.h @@ -200,7 +200,7 @@ public: void updateTexturePos(); - void updateTextures(const std::string mod); + void updateTextures(const std::string &mod); void updateAnimation(); -- cgit v1.2.3