mirror of
https://github.com/glest/glest-source.git
synced 2025-08-10 18:34:05 +02:00
- atempt to cleanup use fo auto_ptr
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "texture.h"
|
||||
#include "model_header.h"
|
||||
#include <memory>
|
||||
#include "common_scoped_ptr.h"
|
||||
#include "byte_order.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
@@ -314,7 +315,7 @@ private:
|
||||
|
||||
static vector<vector<unsigned char> > nextColorIDReuseList;
|
||||
|
||||
static auto_ptr<PixelBufferWrapper> pbo;
|
||||
static unique_ptr<PixelBufferWrapper> pbo;
|
||||
|
||||
void assign_color();
|
||||
|
||||
|
Reference in New Issue
Block a user