summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 76dd71b4f..b73597d14 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -75,7 +75,7 @@ class Resource
unsigned getRefCount() const
{ return mRefCount; }
- void setSource(const std::string str)
+ void setSource(const std::string &str)
{ mSource = str; }
std::string getSource() const