review fixes
This commit is contained in:
parent
88e362729d
commit
da9d55a408
3 changed files with 4 additions and 2 deletions
|
@ -121,7 +121,7 @@ void FrontendRenderer::AcceptMessage(dp::RefPointer<Message> message)
|
|||
bucket.Destroy();
|
||||
}
|
||||
else
|
||||
m_userMarkRenderGroups.push_back(new UserMarkRenderGroup(state, key, bucket.Move()));
|
||||
m_userMarkRenderGroups.emplace_back(new UserMarkRenderGroup(state, key, bucket.Move()));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ void CacheUserPoints(UserMarksProvider const * provider,
|
|||
buffer.reserve(vertexCount);
|
||||
|
||||
vector<UserPointMark const *> marks;
|
||||
marks.reserve(markCount);
|
||||
for (size_t i = 0; i < markCount; ++i)
|
||||
marks.push_back(provider->GetUserPointMark(i));
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@ void Bookmark::SetData(BookmarkData const & data)
|
|||
}
|
||||
|
||||
BookmarkData const & Bookmark::GetData() const
|
||||
{ return m_data;
|
||||
{
|
||||
return m_data;
|
||||
}
|
||||
|
||||
dp::Anchor Bookmark::GetAnchor() const
|
||||
|
|
Reference in a new issue