File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -347,16 +347,6 @@ FIND_PROGRAM(QT_LRELEASE_EXECUTABLE
347347# https://gist.github.com/yamaya/2924292
348348
349349SET (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
Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ QgsExpressionContext::QgsExpressionContext( const QgsExpressionContext& other )
219219 mCachedValues = other.mCachedValues ;
220220}
221221
222- #ifdef HAS_MOVE_SEMANTICS
223222QgsExpressionContext& 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
239237QgsExpressionContext& QgsExpressionContext::operator =( const QgsExpressionContext & other )
240238{
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments