diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-12 17:13:43 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-12 17:13:43 +0900 |
| commit | c4e66390acb285433a519ec8ee94f67bb7464bbf (patch) | |
| tree | 1ba64fa58c62328fd7d7001f905498cbe330787e /src/SessionSerializer.cc | |
| parent | f1f1b991f1c0609fe93b138d05451353a1aaeb0d (diff) | |
Code cleanup
Diffstat (limited to 'src/SessionSerializer.cc')
| -rw-r--r-- | src/SessionSerializer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SessionSerializer.cc b/src/SessionSerializer.cc index f4dc4204..04f53b33 100644 --- a/src/SessionSerializer.cc +++ b/src/SessionSerializer.cc @@ -63,7 +63,8 @@ SessionSerializer::SessionSerializer bool SessionSerializer::save(const std::string& filename) const { - std::string tempFilename = strconcat(filename, "__temp"); + std::string tempFilename = filename; + tempFilename += "__temp"; { BufferedFile fp(tempFilename, BufferedFile::WRITE); if(!fp) { |
