mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
c++03 -> c++11 switch:
- use std versions of function, bind and ref - OVERRIDE -> override - NULL -> nullptr - use std versions of random distributions NOTE: this may be last revision that supports gcc-4.5
This commit is contained in:
@@ -62,18 +62,18 @@ namespace vstd
|
||||
|
||||
unlock_guard()
|
||||
{
|
||||
m = NULL;
|
||||
m = nullptr;
|
||||
}
|
||||
|
||||
unlock_guard(unlock_guard &&other)
|
||||
: m(other.m)
|
||||
{
|
||||
other.m = NULL;
|
||||
other.m = nullptr;
|
||||
}
|
||||
|
||||
void release()
|
||||
{
|
||||
m = NULL;
|
||||
m = nullptr;
|
||||
}
|
||||
|
||||
~unlock_guard()
|
||||
|
||||
Reference in New Issue
Block a user