projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Lint broken by b662a4577d692329b9ca83525e6039f2ddcd1ac1
[oweals/minetest.git]
/
src
/
content_cao.h
diff --git
a/src/content_cao.h
b/src/content_cao.h
index f30e90e21049f2359d13a8c34c27461e18326299..3be75352992eb8754a00770cb21ff912423f2882 100644
(file)
--- 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();