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:
authorYuri Gorshenin <y@mmaps.me>2015-04-03 16:43:13 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:41:36 +0300
commit90cd2f8c9a70e810b3b93931538ae1693d75bb54 (patch)
tree1721dbbaf7962449ed2eb94f0c2a75ba4673fc75 /indexer/index.cpp
parent7e21339eacb8154fee47c51baa60ee2c716f49e6 (diff)
Fixed constantness.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index 1869734465..6f8889f589 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -66,8 +66,8 @@ Index::~Index()
namespace
{
-// Deletes map file denoted by @path and all temporary files related
-// to it.
+ // Deletes map file denoted by @path and all temporary files related
+ // to it.
void DeleteMapFiles(string const & path, bool deleteReady)
{
(void)my::DeleteFileX(path);
@@ -136,7 +136,7 @@ bool Index::AddObserver(Observer & observer)
return m_observers.Add(observer);
}
-bool Index::RemoveObserver(Observer & observer)
+bool Index::RemoveObserver(Observer const & observer)
{
return m_observers.Remove(observer);
}