Skip to content

Commit

Permalink
Merge pull request #51177 from nyalldawson/copy_feedback
Browse files Browse the repository at this point in the history
Copy mFeedback argument in copy/assign constructors
  • Loading branch information
elpaso committed Dec 12, 2022
2 parents 16cb755 + 9b4f15e commit 7bd628b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsexpressioncontext.cpp
Expand Up @@ -291,6 +291,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 @@ -305,6 +306,7 @@ QgsExpressionContext &QgsExpressionContext::operator=( QgsExpressionContext &&ot
mHighlightedVariables = other.mHighlightedVariables;
mHighlightedFunctions = other.mHighlightedFunctions;
mCachedValues = other.mCachedValues;
mFeedback = other.mFeedback;
}
return *this;
}
Expand All @@ -323,6 +325,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 7bd628b

Please sign in to comment.