1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-01-20 22:24:38 +01: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

@@ -83,8 +83,6 @@ public:
sq_addref(vm, &obj);
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@@ -96,8 +94,6 @@ public:
so.release = false;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructs an Object from a Squirrel object
///
@@ -155,8 +151,6 @@ public:
return *this;
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -177,8 +171,6 @@ public:
return *this;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Gets the Squirrel VM for this Object (reference)
///