mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 07:09:42 +00:00
Use a deque instead of vector in UnrefQueue
This commit is contained in:
parent
d11c2864df
commit
40a6e05e17
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "unrefqueue.hpp"
|
||||
|
||||
#include <deque>
|
||||
|
||||
#include <osg/Object>
|
||||
//#include <osg/Timer>
|
||||
//#include <iostream>
|
||||
|
@ -12,7 +14,7 @@ namespace SceneUtil
|
|||
class UnrefWorkItem : public SceneUtil::WorkItem
|
||||
{
|
||||
public:
|
||||
std::vector<osg::ref_ptr<osg::Object> > mObjects;
|
||||
std::deque<osg::ref_ptr<osg::Object> > mObjects;
|
||||
|
||||
virtual void doWork()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue