summaryrefslogtreecommitdiff
path: root/src/PreAllocationDiskWriter.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/PreAllocationDiskWriter.h
parent1457d7f660ee83fca44730b38a3f2af800684f2a (diff)
make string type argument const string& where possible
Diffstat (limited to 'src/PreAllocationDiskWriter.h')
-rw-r--r--src/PreAllocationDiskWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PreAllocationDiskWriter.h b/src/PreAllocationDiskWriter.h
index c56cf717..176a37d9 100644
--- a/src/PreAllocationDiskWriter.h
+++ b/src/PreAllocationDiskWriter.h
@@ -31,7 +31,7 @@ public:
PreAllocationDiskWriter(long long int totalLength);
~PreAllocationDiskWriter();
- void initAndOpenFile(string filename);
+ void initAndOpenFile(const string& filename);
};
#endif // _D_PRE_ALLOCATION_DISK_WRITER_H_