https://bugs.kde.org/show_bug.cgi?id=267877 Milian Wolff changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #10 from Milian Wolff 2012-02-28 19:26:58 --- Git commit 50b8d362e01e0ed3fed8e875902e1595be31bb41 by Milian Wolff. Committed on 28/02/2012 at 20:23. Pushed by mwolff into branch '4.3'. properly take constness during overload resolution into account we prefer non-const overloads to const ones if we are accessing a non-const object now, this is also what g++ does by default as far as I can see M +13 -0 languages/cpp/cppduchain/expressionvisitor.cpp M +9 -4 languages/cpp/cppduchain/overloadresolution.cpp M +14 -2 languages/cpp/cppduchain/overloadresolution.h M +12 -3 languages/cpp/cppduchain/overloadresolutionhelper.cpp M +8 -1 languages/cpp/cppduchain/overloadresolutionhelper.h M +78 -0 languages/cpp/cppduchain/tests/test_expressionparser.cpp M +2 -0 languages/cpp/cppduchain/tests/test_expressionparser.h M +15 -1 languages/cpp/cppduchain/viablefunctions.cpp M +4 -1 languages/cpp/cppduchain/viablefunctions.h http://commits.kde.org/kdevelop/50b8d362e01e0ed3fed8e875902e1595be31bb41 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs