From 72d51871ae152163eeb9b005fd0a74d5c1651cd2 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 15 Sep 2015 10:28:01 -0700 Subject: Fix build broken at ac8fda05418b on windows |constexpr| not supported on windows. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1347723002 . --- third_party/base/nonstd_unique_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -constexpr T&& move(T& t) { +T&& move(T& t) { return static_cast(t); } -- cgit v1.2.3