Adapt to kdevplatform's TopDUContext::Features type change
https://commits.kde.org/kdevelop/8552fe7c68eeefa9ef2c2aa2cfebeaefdfbd7c59
made casting of the operator|
and operator&
return values to
TopDUContext::Features
redundant => eliminate the casts.
https://commits.kde.org/kdevelop/08a82a9cfaf30657eae9ebb71de8fcb6dcfd7432
renamed TopDUContext
's enum Features
to Feature
and added
QFlags<Feature> Features
=> introduce a constexpr features
variable in
ParseJob::run()
to change the type of the first operator|
argument from
Feature
to Features
and thus fix the following compilation error (GCC):
invalid user-defined conversion from ‘QIncompatibleFlag’ to ‘KDevelop::TopDUContext::Feature’ [-fpermissive]