diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-02 03:43:29 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-02 03:43:29 +0200 |
commit | 163a065543866b9237c832987ac9a36904341c0e (patch) | |
tree | 4aeef2ae96a08e8ef21cb56a9305d381a52a336b /libs/gtkmm2ext | |
parent | 42af08fb92a48415f2f14705353b13dab24ab0b1 (diff) |
Fix gcc-4.2/PPC builds
Old STL has an issue with ambiguity
reverse_iterator rend();
const_reverse_iterator rend() const;
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r-- | libs/gtkmm2ext/gtk_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 067f712198..29818d4e9e 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -518,7 +518,7 @@ UI::dump_errors (std::ostream& ostr, size_t limit) if (limit > 0) { /* reverse listing, Errors only */ - for (list<string>::const_reverse_iterator i = error_stack.rbegin(); i != error_stack.rend(); ++i) { + for (list<string>::reverse_iterator i = error_stack.rbegin(); i != error_stack.rend(); ++i) { if ((*i).substr (0, 9) == X_("WARNING: ") || (*i).substr (0, 6) == X_("INFO: ")) { continue; } |