1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-30 21:41:46 +00:00

auto_ptr is deprecated

This commit is contained in:
Pavel Labath 2010-06-26 12:33:55 +02:00
parent b5a4d899ab
commit 968f5f4201
2 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@ long global_text_lines;
static int total_updates; static int total_updates;
static int updatereset; static int updatereset;
std::auto_ptr<lua::state> state; std::unique_ptr<lua::state> state;
void set_updatereset(int i) void set_updatereset(int i)
{ {

View File

@ -349,7 +349,7 @@ void free_and_zero(T *&ptr) {
} }
} }
extern std::auto_ptr<lua::state> state; extern std::unique_ptr<lua::state> state;
extern int argc_copy; extern int argc_copy;
extern char** argv_copy; extern char** argv_copy;