mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Use emplace_back instead of push_back
This commit is contained in:
parent
bf45bd5802
commit
065ed5138e
66 changed files with 267 additions and 271 deletions
|
@ -18,7 +18,7 @@ namespace SceneUtil
|
|||
|
||||
void UnrefQueue::push(const osg::Referenced *obj)
|
||||
{
|
||||
mWorkItem->mObjects.push_back(obj);
|
||||
mWorkItem->mObjects.emplace_back(obj);
|
||||
}
|
||||
|
||||
void UnrefQueue::flush(SceneUtil::WorkQueue *workQueue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue