summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 7c5f989e..5b70c720 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -55,8 +55,8 @@ class Resource
/**
* Return the path identifying this resource.
*/
- const std::string&
- getIdPath() { return mIdPath; }
+ const std::string &getIdPath() const
+ { return mIdPath; }
protected:
/**