From 2638440a8ca340e8d73fe6444b70cb71d21db498 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 15 Mar 2017 15:46:18 -0300 Subject: [PATCH] std::queue<> doesn't have push_back() --- src/app/font_path_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/font_path_unix.cpp b/src/app/font_path_unix.cpp index 3455fd93b..faef2196e 100644 --- a/src/app/font_path_unix.cpp +++ b/src/app/font_path_unix.cpp @@ -39,7 +39,7 @@ void get_font_dirs(std::vector& 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 } }