Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-04-08 17:08:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:52:57 +0300
commit8462403a776ac936ddf9cc4d8e96e86ce63711ff (patch)
tree04d9705f655bc41e313a3cb0b7679c69e29a516c /coding/file_container.hpp
parent3f348ed96143165c2f12409073c28b1f8b38addf (diff)
Return file name by const reference in readers.
Diffstat (limited to 'coding/file_container.hpp')
-rw-r--r--coding/file_container.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/coding/file_container.hpp b/coding/file_container.hpp
index 7dd669cdb3..ad7f64af80 100644
--- a/coding/file_container.hpp
+++ b/coding/file_container.hpp
@@ -99,7 +99,7 @@ public:
}
inline uint64_t GetFileSize() const { return m_source.Size(); }
- inline string GetFileName() const { return m_source.GetName(); }
+ inline string const & GetFileName() const { return m_source.GetName(); }
private:
ReaderT m_source;