mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 22:43:47 +00:00
Use a deque instead of vector in UnrefQueue
This commit is contained in:
parent
d11c2864df
commit
40a6e05e17
@ -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…
x
Reference in New Issue
Block a user