summaryrefslogtreecommitdiff
path: root/src/File.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-04-19 17:49:03 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-04-19 17:49:03 +0000
commitb1d46227d4ed9e86952e4d2d6059ecbde2d248e0 (patch)
treeabba06d5ecd01b9210f70130d3a36c8747c36d8f /src/File.h
parent1457d7f660ee83fca44730b38a3f2af800684f2a (diff)
make string type argument const string& where possible
Diffstat (limited to 'src/File.h')
-rw-r--r--src/File.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/File.h b/src/File.h
index fa11f4c1..6f1ed73a 100644
--- a/src/File.h
+++ b/src/File.h
@@ -35,7 +35,7 @@ private:
string name;
int fillStat(struct stat& fstat);
public:
- File(string name);
+ File(const string& name);
~File();
/**