[aseprite] 185/250: Don't ref a temporary object
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 241aba6370efd178a30764a80019716c02867e70
Author: David Capello <davidcapello at gmail.com>
Date: Thu Oct 15 18:32:55 2015 -0300
Don't ref a temporary object
---
src/app/ui/font_popup.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/ui/font_popup.cpp b/src/app/ui/font_popup.cpp
index cabafa5..5c69cf4 100644
--- a/src/app/ui/font_popup.cpp
+++ b/src/app/ui/font_popup.cpp
@@ -145,7 +145,7 @@ FontPopup::FontPopup()
#endif
if (!m_fontsDir.empty()) {
- auto& files = base::list_files(m_fontsDir);
+ auto files = base::list_files(m_fontsDir);
std::sort(files.begin(), files.end());
for (auto& file : files) {
if (base::string_to_lower(base::get_file_extension(file)) == "ttf")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list