Commit 38e80fc8 authored by Murray Cumming's avatar Murray Cumming
Browse files

Fix silly code after a return.

parent 66396788
......@@ -167,8 +167,9 @@ void DialogImageLoadProgress::error(const Glib::ustring& error_message)
std::unique_ptr<GdaBinary> DialogImageLoadProgress::get_image_data()
//This will not be as if it was reset.
//Not every std::move() does that, but std::move() with std::unique_ptr<> does.
return std::move(m_data);
} // namespace Glom
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment