Skip to content

Commit d6c860a

Browse files
Adding move in Mock for DSResult
1 parent ff1b1a1 commit d6c860a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Include/Tests/ConfigParsing/MockComponents.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <sstream>
1111
#include <type_traits>
1212
#include <vector>
13+
#include <utility>
1314

1415
extern CO_DECLARE_INSTANCE(OverrideInstance);
1516

@@ -81,6 +82,12 @@ namespace Mock_std
8182
{
8283
return std::stoi(str, pos, base);
8384
}
85+
86+
template<class T>
87+
typename std::remove_reference<T>::type&& move( T&& t ) noexcept
88+
{
89+
return std::move(t);
90+
}
8491
}
8592

8693

0 commit comments

Comments
 (0)