1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-01 06:27:11 +02:00

Don't separate C++11 code from legacy code through macros. Make C++11 the default C++ version required.

This commit is contained in:
Sandu Liviu Catalin
2016-06-12 13:49:43 +03:00
parent 0240d192e9
commit a81b950952
5 changed files with 0 additions and 80 deletions

View File

@ -75,8 +75,6 @@ public:
sq_addref(vm, &obj);
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@ -88,8 +86,6 @@ public:
sq_resetobject(&sf.GetFunc());
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructs a Function from a slot in an Object
///
@ -153,8 +149,6 @@ public:
return *this;
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@ -173,8 +167,6 @@ public:
return *this;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Checks whether the Function is null
///