diff options
-rw-r--r-- | third_party/base/nonstd_unique_ptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/base/nonstd_unique_ptr.h b/third_party/base/nonstd_unique_ptr.h index 2b089178fb..1d1c43f42f 100644 --- a/third_party/base/nonstd_unique_ptr.h +++ b/third_party/base/nonstd_unique_ptr.h @@ -78,7 +78,7 @@ namespace nonstd { // Replacement for move, but doesn't allow things that are already // rvalue references. template <class T> -constexpr T&& move(T& t) { +T&& move(T& t) { return static_cast<T&&>(t); } |