Merge pull request #19528 from smirnov-alexey:as/gapi_optional_fix

This commit is contained in:
Alexander Alekhin 2021-02-15 23:00:11 +03:00 committed by GitHub
commit 928d5ae315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ namespace util
// Implementation //////////////////////////////////////////////////////////
template<class T> optional<T>::optional(T &&v) noexcept
: m_holder(v)
: m_holder(std::move(v))
{
}