summaryrefslogtreecommitdiff
path: root/deps/v8/src/inspector/string-16.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/inspector/string-16.h')
-rw-r--r--deps/v8/src/inspector/string-16.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/inspector/string-16.h b/deps/v8/src/inspector/string-16.h
index 461b2961e1..7c6f9e992d 100644
--- a/deps/v8/src/inspector/string-16.h
+++ b/deps/v8/src/inspector/string-16.h
@@ -12,6 +12,8 @@
#include <string>
#include <vector>
+#include "src/base/compiler-specific.h"
+
namespace v8_inspector {
using UChar = uint16_t;
@@ -22,7 +24,7 @@ class String16 {
String16();
String16(const String16& other);
- String16(String16&& other);
+ String16(String16&& other) V8_NOEXCEPT;
String16(const UChar* characters, size_t size);
String16(const UChar* characters); // NOLINT(runtime/explicit)
String16(const char* characters); // NOLINT(runtime/explicit)
@@ -30,7 +32,7 @@ class String16 {
explicit String16(const std::basic_string<UChar>& impl);
String16& operator=(const String16& other);
- String16& operator=(String16&& other);
+ String16& operator=(String16&& other) V8_NOEXCEPT;
static String16 fromInteger(int);
static String16 fromInteger(size_t);