1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-08-05 15:41:47 +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:
ArrayBase(const Object& obj) : Object(obj) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the ArrayBase from an Object that already exists
///
@@ -77,8 +75,6 @@ public:
ArrayBase(Object&& obj) : Object(std::move(obj)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Copy constructor
///
@@ -88,8 +84,6 @@ public:
ArrayBase(const ArrayBase& sa) : Object(sa) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@@ -99,8 +93,6 @@ public:
ArrayBase(ArrayBase&& sa) : Object(std::move(sa)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the ArrayBase from a HSQOBJECT and HSQUIRRELVM that already exist
///
@@ -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 Array (can be used to facilitate namespaces)
///
@@ -551,8 +539,6 @@ public:
Array(const Object& obj) : ArrayBase(obj) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the Array from an Object that already exists
///
@@ -562,8 +548,6 @@ public:
Array(Object&& obj) : ArrayBase(std::move(obj)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Construct the Array from a HSQOBJECT and HSQUIRRELVM that already exist
///
@@ -583,8 +567,6 @@ public:
Array(const Array& sa) : ArrayBase(sa) {
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Move constructor
///
@@ -594,8 +576,6 @@ public:
Array(Array&& sa) : ArrayBase(std::move(sa)) {
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -609,8 +589,6 @@ public:
return *this;
}
#ifdef SCRAT_USE_CXX11_OPTIMIZATIONS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
///
@@ -624,8 +602,6 @@ public:
return *this;
}
#endif // SCRAT_USE_CXX11_OPTIMIZATIONS
};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////