diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-09-15 10:28:01 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-09-15 10:28:01 -0700 |
commit | 72d51871ae152163eeb9b005fd0a74d5c1651cd2 (patch) | |
tree | fd4e27538fc927f444636552922d7911f9233958 /third_party/base | |
parent | ac8fda05418b7c96255d320fdec296935c552187 (diff) | |
download | pdfium-72d51871ae152163eeb9b005fd0a74d5c1651cd2.tar.xz |
Fix build broken at ac8fda05418b on windows
|constexpr| not supported on windows.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1347723002 .
Diffstat (limited to 'third_party/base')
-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); } |