Skip to content

Commit fba53db

Browse files
committed
Followup a6a4f2e: clean pre-cxx-11 garbage
1 parent 9bab3fa commit fba53db

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -347,16 +347,6 @@ FIND_PROGRAM(QT_LRELEASE_EXECUTABLE
347347
# https://gist.github.com/yamaya/2924292
348348

349349
SET(CMAKE_CXX_STANDARD 11)
350-
SET(USE_CXX_11 TRUE)
351-
352-
#allow override keyword if available
353-
IF(NOT USE_CXX_11)
354-
ADD_DEFINITIONS("-Doverride=")
355-
ADD_DEFINITIONS("-Dnoexcept=")
356-
ADD_DEFINITIONS("-Dnullptr=0")
357-
ELSE()
358-
ADD_DEFINITIONS("-DHAS_MOVE_SEMANTICS")
359-
ENDIF()
360350

361351
#############################################################
362352
# enable warnings

src/core/qgsexpressioncontext.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ QgsExpressionContext::QgsExpressionContext( const QgsExpressionContext& other )
219219
mCachedValues = other.mCachedValues;
220220
}
221221

222-
#ifdef HAS_MOVE_SEMANTICS
223222
QgsExpressionContext& QgsExpressionContext::operator=( QgsExpressionContext && other )
224223
{
225224
if ( this != &other )
@@ -234,7 +233,6 @@ QgsExpressionContext& QgsExpressionContext::operator=( QgsExpressionContext && o
234233
}
235234
return *this;
236235
}
237-
#endif
238236

239237
QgsExpressionContext& QgsExpressionContext::operator=( const QgsExpressionContext & other )
240238
{

src/core/qgsexpressioncontext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@ class CORE_EXPORT QgsExpressionContext
264264

265265
QgsExpressionContext& operator=( const QgsExpressionContext& other );
266266

267-
#ifdef HAS_MOVE_SEMANTICS
268267
QgsExpressionContext& operator=( QgsExpressionContext && other );
269-
#endif
270268

271269
~QgsExpressionContext();
272270

0 commit comments

Comments
 (0)