Skip to content

Commit

Permalink
Copy mFeedback argument in copy/assign constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Dec 12, 2022
1 parent 40414f4 commit 9f36e35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsexpressioncontext.cpp
Expand Up @@ -246,6 +246,7 @@ QgsExpressionContext::QgsExpressionContext( const QgsExpressionContext &other )
mHighlightedVariables = other.mHighlightedVariables;
mHighlightedFunctions = other.mHighlightedFunctions;
mCachedValues = other.mCachedValues;
mFeedback = other.mFeedback;
}

QgsExpressionContext &QgsExpressionContext::operator=( QgsExpressionContext &&other ) noexcept
Expand All @@ -260,6 +261,7 @@ QgsExpressionContext &QgsExpressionContext::operator=( QgsExpressionContext &&ot
mHighlightedVariables = other.mHighlightedVariables;
mHighlightedFunctions = other.mHighlightedFunctions;
mCachedValues = other.mCachedValues;
mFeedback = other.mFeedback;
}
return *this;
}
Expand All @@ -278,6 +280,7 @@ QgsExpressionContext &QgsExpressionContext::operator=( const QgsExpressionContex
mHighlightedVariables = other.mHighlightedVariables;
mHighlightedFunctions = other.mHighlightedFunctions;
mCachedValues = other.mCachedValues;
mFeedback = other.mFeedback;
return *this;
}

Expand Down

0 comments on commit 9f36e35

Please sign in to comment.