C++98 compatibility

This commit is contained in:
Robin Gareus 2020-04-09 22:39:25 +02:00
parent ca022f6bb7
commit 18daf2c9b2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -142,7 +142,7 @@ ServerResources::read_manifests (std::string dir)
find_paths_matching_filter (subdirs, spath, dir_filter,
0 /*arg*/, true /*pass_fullpath*/, true /*return_fullpath*/, false /*recurse*/);
for (std::vector<std::string>::const_iterator it = subdirs.cbegin (); it != subdirs.cend (); ++it) {
for (std::vector<std::string>::const_iterator it = subdirs.begin (); it != subdirs.end (); ++it) {
std::string xml_path = Glib::build_filename (*it, manifest_filename);
if (!Glib::file_test (xml_path, Glib::FILE_TEST_EXISTS)) {