Skip to content

Commit

Permalink
Fixing building on gcc 5.4
Browse files Browse the repository at this point in the history
(on behalf of Adam, thanks!)

MD-22843
  • Loading branch information
cpina committed Aug 13, 2018
1 parent 145a7f0 commit ee92a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ int main(int argc, char** argv)
if (options.mode == UpdateInstaller::Main)
{
LOG(Info, "Showing updater UI - auto close? " + intToStr(options.autoClose));
std::auto_ptr<UpdateDialog> dialog(createUpdateDialog());
std::unique_ptr<UpdateDialog> dialog(createUpdateDialog());
dialog->setAutoClose(options.autoClose);
dialog->init(argc, argv);
installer.setObserver(dialog.get());
Expand Down

0 comments on commit ee92a25

Please sign in to comment.