diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-19 17:49:03 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-19 17:49:03 +0000 |
| commit | b1d46227d4ed9e86952e4d2d6059ecbde2d248e0 (patch) | |
| tree | abba06d5ecd01b9210f70130d3a36c8747c36d8f /src/MetaFileUtil.cc | |
| parent | 1457d7f660ee83fca44730b38a3f2af800684f2a (diff) | |
make string type argument const string& where possible
Diffstat (limited to 'src/MetaFileUtil.cc')
| -rw-r--r-- | src/MetaFileUtil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetaFileUtil.cc b/src/MetaFileUtil.cc index b0c09bb7..f64d72b3 100644 --- a/src/MetaFileUtil.cc +++ b/src/MetaFileUtil.cc @@ -26,7 +26,7 @@ #include <string.h> #include <stdlib.h> -MetaEntry* MetaFileUtil::parseMetaFile(string file) { +MetaEntry* MetaFileUtil::parseMetaFile(const string& file) { File f(file); int len = f.size(); char* buf = new char[len]; |
