From d16cda8fc3476cc534a756873cc8aa2692a57054 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Thu, 22 Aug 2019 13:13:36 +0200 Subject: [PATCH] GCC: declare noexcept move constructor/assign operators of V8StackTraceId blink::BlinkCloneableMessage declares default implementation of move operator/assign operator that requires v8_inspector::V8StackTraceId to declare its move constructor/assign operator too. Bug: chromium:819294 Change-Id: Iaf626ee8245efcba372a17cdf2de448e691d41d6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1796062 Commit-Queue: José Dapena Paz Reviewed-by: Yang Guo Cr-Commit-Position: refs/heads/master@{#63799} --- diff --git a/v8/include/v8-inspector.h b/v8/include/v8-inspector.h index ce5b777..ed4cdec 100644 --- a/v8/include/v8-inspector.h +++ b/v8/include/v8-inspector.h @@ -231,7 +231,10 @@ struct V8_EXPORT V8StackTraceId { std::pair debugger_id; V8StackTraceId(); + V8StackTraceId(const V8StackTraceId&) = default; V8StackTraceId(uintptr_t id, const std::pair debugger_id); + V8StackTraceId& operator=(const V8StackTraceId&) = default; + V8StackTraceId& operator=(V8StackTraceId&&) noexcept = default; ~V8StackTraceId() = default; bool IsInvalid() const;