std::queue<> doesn't have push_back()

This commit is contained in:
David Capello 2017-03-15 15:46:18 -03:00
parent a8c33ecb26
commit 2638440a8c

View File

@ -39,7 +39,7 @@ void get_font_dirs(std::vector<std::string>& fontDirs)
for (const auto& file : base::list_files(fontDir)) {
std::string fullpath = base::join_path(fontDir, file);
if (base::is_directory(fullpath))
q.push_back(fontDir); // Add subdirectory in the queue
q.push(fontDir); // Add subdirectory in the queue
}
}