Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix windows build
undefined error C2079: 'QMapNode<Key,T>::value' uses undefined class 'QgsGeometry'
- Loading branch information
9ddd28d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QgsGeometry needs QgsFeatureId, so the forward declaration of QgsGeometry cannot be simply replaced by the include.
9ddd28d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jef-n
I got an error when compile the master branch today (after long time no compiling). So, I do
git bisect
to find the problem, and I got this commit. My error is like this:I got 4 errors like that.
Do you know something about this problem?
I compiled in MacOS, it was fine before.
9ddd28d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ismailsunni 3452e8d probably fixes it.
9ddd28d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reply @jef-n
I made a fix also in here #4599, I can compile again with that PR.