summaryrefslogtreecommitdiff
path: root/src/filecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filecache.h')
-rw-r--r--src/filecache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filecache.h b/src/filecache.h
index f390f71b7..627ab45ed 100644
--- a/src/filecache.h
+++ b/src/filecache.h
@@ -30,7 +30,7 @@ public:
/*
'dir' is the file cache directory to use.
*/
- FileCache(std::string dir) : m_dir(dir) {}
+ FileCache(const std::string &dir) : m_dir(dir) {}
bool update(const std::string &name, const std::string &data);
bool load(const std::string &name, std::ostream &os);