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:
Diffstat (limited to 'ugc/storage.hpp')
-rw-r--r--ugc/storage.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ugc/storage.hpp b/ugc/storage.hpp
index 113d82a53c..b9c367288f 100644
--- a/ugc/storage.hpp
+++ b/ugc/storage.hpp
@@ -35,7 +35,6 @@ public:
};
SettingResult SetUGCUpdate(FeatureID const & id, UGCUpdate const & ugc);
- bool SaveIndex(std::string const & pathToTargetFile = "") const;
std::string GetUGCToSend() const;
void MarkAllAsSynchronized();
void Defragmentation();
@@ -48,10 +47,11 @@ public:
size_t GetNumberOfDeletedForTesting() const { return m_numberOfDeleted; }
SettingResult SetUGCUpdateForTesting(FeatureID const & id, v0::UGCUpdate const & ugc);
void LoadForTesting(std::string const & testIndexFilePath);
+ bool SaveIndexForTesting(std::string const & testIndexFilePath = "") const;
private:
void DefragmentationImpl(bool force);
- uint64_t UGCSizeAtIndex(size_t const indexPosition) const;
+ uint64_t UGCSizeAtPos(size_t const pos) const;
std::unique_ptr<FeatureType> GetFeature(FeatureID const & id) const;
void Migrate(std::string const & indexFilePath);
UpdateIndexes::const_iterator FindIndex(FeatureID const & id) const;