Skip to content

Commit 928d5ae

Browse files
authored
Merge pull request opencv#19528 from smirnov-alexey:as/gapi_optional_fix
2 parents 0cdbdfd + fdd5c26 commit 928d5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gapi/include/opencv2/gapi/util/optional.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ namespace util
8484

8585
// Implementation //////////////////////////////////////////////////////////
8686
template<class T> optional<T>::optional(T &&v) noexcept
87-
: m_holder(v)
87+
: m_holder(std::move(v))
8888
{
8989
}
9090

0 commit comments

Comments
 (0)