[clazy] [Bug 404328] don't warn about strict iterator mismatch in const function
Milian Wolff
bugzilla_noreply at kde.org
Thu Feb 14 09:05:21 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=404328
--- Comment #1 from Milian Wolff <mail at milianw.de> ---
even adding an explicit static_cast<> to const_iterator warns:
warning: Mixing iterators with const_iterators [-Wclazy-strict-iterators]
return static_cast<decltype(mFoo)::const_iterator>(mFooIt) != mFoo.end();
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list