13
0

Fix gcc-4.2 OSX/PPC builds

ambiguity between
  reverse_iterator rend();
  const_reverse_iterator rend() const;
This commit is contained in:
Robin Gareus 2018-03-02 16:11:21 +01:00
parent 52a2f5bada
commit 6f11cd30bf

View File

@ -1570,7 +1570,8 @@ PluginManager::load_tags ()
vector<std::string> tmp;
find_files_matching_pattern (tmp, plugin_metadata_search_path (), "plugin_tags");
for (vector<std::string>::const_reverse_iterator p = tmp.rbegin (); p != tmp.rend(); ++p) {
for (vector<std::string>::const_reverse_iterator p = tmp.rbegin ();
p != (vector<std::string>::const_reverse_iterator)tmp.rend(); ++p) {
std::string path = *p;
info << string_compose (_("Loading plugin meta data file %1"), path) << endmsg;
if (!Glib::file_test (path, Glib::FILE_TEST_EXISTS)) {