aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/third_party/inspector_protocol/lib/Maybe_h.template
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/third_party/inspector_protocol/lib/Maybe_h.template')
-rw-r--r--deps/v8/third_party/inspector_protocol/lib/Maybe_h.template9
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/v8/third_party/inspector_protocol/lib/Maybe_h.template b/deps/v8/third_party/inspector_protocol/lib/Maybe_h.template
index 5af6960a7b..15626ab350 100644
--- a/deps/v8/third_party/inspector_protocol/lib/Maybe_h.template
+++ b/deps/v8/third_party/inspector_protocol/lib/Maybe_h.template
@@ -116,6 +116,15 @@ public:
using MaybeBase::operator=;
};
+template<>
+class Maybe<Binary> : public MaybeBase<Binary> {
+public:
+ Maybe() { }
+ Maybe(Binary value) : MaybeBase(value) { }
+ Maybe(Maybe&& other) IP_NOEXCEPT : MaybeBase(std::move(other)) {}
+ using MaybeBase::operator=;
+};
+
{% for namespace in config.protocol.namespace %}
} // namespace {{namespace}}
{% endfor %}