QString::compare: Strings with same output compare as different?
-
I use QString::compare to compare two QStrings, with Qt::CaseInsensitive.
Both strings output as "tcm".In Debug build, the result is 0 (as expected)
In Release build, the result is 1.How can I further investigate why the strings are considered different?
-
Got it. By-value lambda capture of const reference...
-
A Asperamanca has marked this topic as solved