summaryrefslogtreecommitdiff
path: root/src/File.cc
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.cc
parent1457d7f660ee83fca44730b38a3f2af800684f2a (diff)
make string type argument const string& where possible
Diffstat (limited to 'src/File.cc')
-rw-r--r--src/File.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/File.cc b/src/File.cc
index 683fa99a..d7e46e18 100644
--- a/src/File.cc
+++ b/src/File.cc
@@ -24,7 +24,7 @@
#include <sys/stat.h>
#include <unistd.h>
-File::File(string name):name(name) {}
+File::File(const string& name):name(name) {}
File::~File() {}