mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-20 10:17:05 +00:00
Take another swing at Qt's ambiguity problem.
This commit is contained in:
+3
-2
@@ -220,8 +220,9 @@ public:
|
||||
prefix += "] ";
|
||||
}
|
||||
|
||||
decltype(stream(true)) out = stream(accumulator_.is_info);
|
||||
out << prefix << accumulator_.last;
|
||||
auto &&out = stream(accumulator_.is_info);
|
||||
out << prefix.c_str() << accumulator_.last.c_str(); // Use of .c_str() avoids an ambiguity affecting older
|
||||
// versions of Qt.
|
||||
if(accumulator_.count > 1) {
|
||||
out << " [* " << accumulator_.count << "]";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user