# HG changeset patch # User David Demelier # Date 1482394381 -3600 # Node ID b43f4085760929a8bb8eb99ad79ff17d8e526271 # Parent 6950ea5c78c62aef297dfc96a6d103b677aec291 Common: add explicit move because of unique_ptr diff -r 6950ea5c78c6 -r b43f40857609 libcommon/malikania/resources_locator.cpp --- a/libcommon/malikania/resources_locator.cpp Wed Dec 21 13:12:50 2016 +0100 +++ b/libcommon/malikania/resources_locator.cpp Thu Dec 22 09:13:01 2016 +0100 @@ -50,7 +50,7 @@ throw std::runtime_error(std::strerror(errno)); } - return ptr; + return std::move(ptr); } } // !mlk