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 <alex@maps.me>2016-03-09 22:26:14 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:52:46 +0300
commitb9ea81f3ab78a7bf9e6327df985027a0e87586e6 (patch)
tree62ebadae88a626679de095adb91fbf8a0ec206ef /indexer/feature.hpp
parent129555b51cfbc8d2d685f78a981c2bdfa673150b (diff)
Avoid unnecessary copying.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r--indexer/feature.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp
index 768ae7ee64..495bbeb97e 100644
--- a/indexer/feature.hpp
+++ b/indexer/feature.hpp
@@ -177,7 +177,7 @@ public:
//@}
inline void SetID(FeatureID const & id) { m_id = id; }
- inline FeatureID GetID() const { return m_id; }
+ inline FeatureID const & GetID() const { return m_id; }
/// @name Editor functions.
//@{