diff options
author | vng <viktor.govako@gmail.com> | 2013-10-09 14:53:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:04:15 +0300 |
commit | ee6c45e7a925576868f14c502f2ad379aa392157 (patch) | |
tree | 5c451c825feaa03278f33fdbf1514a66e9388bcc /map/bookmark.hpp | |
parent | d3bee7c08af11c3045a7430156b67a06e4bd9816 (diff) |
[tracks] Code and style review fixes.
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index ff48a7fb12..1e552ed7b0 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -11,7 +11,8 @@ #include "../std/noncopyable.hpp" #include "../std/iostream.hpp" -#include "track.hpp" + +class Track; class Bookmark @@ -81,11 +82,12 @@ public: void ReplaceBookmark(size_t index, Bookmark const & bm); //@} - /// @name Track routines + /// @name Tracks routine. //@{ - void AddTrack(Track const & track); + /// @note Move semantics is used here. + void AddTrack(Track & track); Track * GetTrack(size_t index) const; - inline size_t GetTracksCount() const { return m_tracks.size(); } + inline size_t GetTracksCount() const { return m_tracks.size(); } //@} void SetVisible(bool isVisible) { m_visible = isVisible; } |