From 64fdd317d4127142ad9e967197a2df6ac81ef55f Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 29 Mar 2017 17:42:18 +0200 Subject: [PATCH] Fix build with GCC 7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes some ambiguities and outright wrong code GCC 7 doesn't accept but earlier compilers did. Task-number:QTBUG-59776 Change-Id: I012f121842ac6cde49db0d571efc62aabe2115e3 Reviewed-by: Michael Brüning --- .../mojo/public/cpp/bindings/interface_ptr_info.h | 2 +- .../third_party/WebKit/Source/wtf/LinkedHashSet.h | 2 ++ chromium/v8/src/objects-body-descriptors.h | 2 +- chromium/v8/src/objects-inl.h | 19 +++++++++++++++++++ chromium/v8/src/objects.h | 16 ++-------------- 5 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_ptr_info.h b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_ptr_info.h index 5bd29d5..c94a5ac 100644 --- a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_ptr_info.h +++ b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_ptr_info.h @@ -34,7 +34,7 @@ class InterfacePtrInfo { InterfacePtrInfo& operator=(InterfacePtrInfo&& other) { if (this != &other) { - handle_ = other.handle_.Pass(); + handle_ = std::move(other.handle_); version_ = other.version_; other.version_ = 0u; } -- 2.7.4