Skip to content

Commit

Permalink
booru/page: Use make_unique for ImageFetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ahodesuka committed Dec 3, 2017
1 parent 03d9799 commit 10e19ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/booru/page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Page::Page(Gtk::Menu *menu)
m_TabLabel(Gtk::manage(new Gtk::Label(_("New Tab")))),
m_TabButton(Gtk::manage(new Gtk::Button())),
m_ImageList(std::make_shared<ImageList>(this)),
m_ImageFetcher(std::unique_ptr<ImageFetcher>(new ImageFetcher())),
m_ImageFetcher(std::make_unique<ImageFetcher>()),
m_Page(0),
m_NumPosts(0),
m_Saving(false),
Expand Down

0 comments on commit 10e19ac

Please sign in to comment.