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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-11-09 17:01:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:30 +0300
commit3cd091ed79859e4adabee7369001a7bc3345d5d4 (patch)
tree40d10adc114abe9aaf4bac747510289ee6b115cc /generator/data_cache_file.hpp
parentb83905901edb55c856d633a673079c8ed89e564b (diff)
Replaced ineffective char const * with string const &
Diffstat (limited to 'generator/data_cache_file.hpp')
-rw-r--r--generator/data_cache_file.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/data_cache_file.hpp b/generator/data_cache_file.hpp
index 74f50502e9..f3aadc773c 100644
--- a/generator/data_cache_file.hpp
+++ b/generator/data_cache_file.hpp
@@ -136,7 +136,7 @@ namespace cache
public:
DataFileBase(string const & name)
- : m_stream(name.c_str()), m_offsets(name + OFFSET_EXT)
+ : m_stream(name), m_offsets(name + OFFSET_EXT)
{
}
};