1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-10-21 10:27:18 +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

@@ -66,8 +66,6 @@ public:
TableBase(const Object& obj) : Object(obj) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the TableBase from an Object that already exists
///
@@ -77,8 +75,6 @@ public:
TableBase(Object&& obj) : Object(std::move(obj)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the TableBase from a HSQOBJECT and HSQUIRRELVM that already exist
///
@@ -98,8 +94,6 @@ public:
TableBase(const TableBase& st) : Object(st) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@@ -109,8 +103,6 @@ public:
TableBase(TableBase&& st) : Object(std::move(st)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -124,8 +116,6 @@ public:
return *this;
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -139,8 +129,6 @@ public:
return *this;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Binds a Table or Class to the Table (can be used to facilitate namespaces)
///
@@ -493,8 +481,6 @@ public:
Table(const Object& obj) : TableBase(obj) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the Table from an Object that already exists
///
@@ -504,8 +490,6 @@ public:
Table(Object&& obj) : TableBase(std::move(obj)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the Table from a HSQOBJECT and HSQUIRRELVM that already exist
///
@@ -525,8 +509,6 @@ public:
Table(const Table& st) : TableBase(st) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@@ -536,8 +518,6 @@ public:
Table(Table&& st) : TableBase(std::move(st)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -551,8 +531,6 @@ public:
return *this;
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -566,8 +544,6 @@ public:
return *this;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////