Skip to content

Commit

Permalink
feat: Add compatibility for std::move function
Browse files Browse the repository at this point in the history
  • Loading branch information
ciband committed Oct 29, 2019
1 parent cf968e5 commit 7536726
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utility
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ namespace std{
return pair<T1,T2>(x, y);
}


// Stubb out move for compatibility
template<class T>
T& move(T& t) noexcept {
return t;
}
}

#pragma GCC visibility pop
Expand Down

0 comments on commit 7536726

Please sign in to comment.