diff options
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/index.hpp | 4 | ||||
-rw-r--r-- | indexer/mwm_set.hpp | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index eab3b90c79..02ab500383 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -73,10 +73,8 @@ public: virtual void OnMapDeregistered(platform::LocalCountryFile const & localFile) {} }; - /// Registers a new map. - WARN_UNUSED_RESULT pair<MwmId, RegResult> RegisterMap( - platform::LocalCountryFile const & localFile); + pair<MwmId, RegResult> RegisterMap(platform::LocalCountryFile const & localFile); /// Deregisters a map from internal records. /// diff --git a/indexer/mwm_set.hpp b/indexer/mwm_set.hpp index fb847e5f10..652d4be163 100644 --- a/indexer/mwm_set.hpp +++ b/indexer/mwm_set.hpp @@ -164,12 +164,10 @@ public: /// are older than the localFile (in this case mwm handle will point /// to just-registered file). protected: - WARN_UNUSED_RESULT pair<MwmId, RegResult> RegisterImpl( - platform::LocalCountryFile const & localFile); + pair<MwmId, RegResult> RegisterImpl(platform::LocalCountryFile const & localFile); public: - WARN_UNUSED_RESULT pair<MwmId, RegResult> Register( - platform::LocalCountryFile const & localFile); + pair<MwmId, RegResult> Register(platform::LocalCountryFile const & localFile); //@} /// @name Remove mwm. |