diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-12-01 05:02:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:47:21 +0300 |
commit | 2beef410f81e812ea794ac22c82842cc8b0ffee4 (patch) | |
tree | 870be7417f262751a33a142216e1c914a2967664 /map/bookmark.hpp | |
parent | 09e99ee134fbfecaf80765fbfe5fea697ee5f900 (diff) |
[bookmarks] Changed return values to references
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index 9938c10bb1..14781ebbb4 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -66,8 +66,8 @@ public: bool IsVisible() const { return m_visible; } void SetName(string const & name) { m_name = name; } - string GetName() const { return m_name; } - string GetFileName() const { return m_file; } + string const & GetName() const { return m_name; } + string const & GetFileName() const { return m_file; } inline size_t GetBookmarksCount() const { return m_bookmarks.size(); } |