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
=> declare features
variables as
TopDUContext::Features
rather than auto
in TestDUChainMultipleFiles
to change their types from Feature
to Features
and thus fix the
following compilation errors (GCC):
invalid user-defined conversion from ‘QFlagsKDevelop::TopDUContext::Feature’ to ‘KDevelop::TopDUContext::Feature’ [-fpermissive]