aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index b8cf7c14d..0de4dbc21 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -725,7 +725,7 @@ private:
* @param i a content ID
* @param name a node name
*/
- void addNameIdMapping(content_t i, std::string name);
+ void addNameIdMapping(content_t i, const std::string &name);
/*!
* Removes a content ID from all groups.