[bookmarks] Changed return values to references

This commit is contained in:
Alex Zolotarev 2012-11-30 17:02:15 -08:00 committed by Alex Zolotarev
parent 09e99ee134
commit 2beef410f8

View file

@ -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(); }