forked from organicmaps/organicmaps
compile fix
This commit is contained in:
parent
751657cf72
commit
6d5cc8dd48
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Bookmark const * BookmarkCategory::GetBookmark(size_t index) const
|
|||
Bookmark * BookmarkCategory::GetBookmark(size_t index)
|
||||
{
|
||||
base_t::Controller & c = base_t::GetController();
|
||||
return static_cast<Bookmark *>(index < c.GetUserMarkCount() ? c.GetUserMark(index) : 0);
|
||||
return static_cast<Bookmark *>(index < c.GetUserMarkCount() ? c.GetUserMarkForEdit(index) : 0);
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
Loading…
Add table
Reference in a new issue