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:
parent
b5a4d899ab
commit
968f5f4201
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user