Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/label.h')
-rw-r--r--deps/v8/src/label.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/label.h b/deps/v8/src/label.h
index cf81e6c3031..489f93d76b1 100644
--- a/deps/v8/src/label.h
+++ b/deps/v8/src/label.h
@@ -32,8 +32,8 @@ class Label {
// In debug builds, the old Label has to be cleared in order to avoid a DCHECK
// failure in it's destructor.
#ifdef DEBUG
- Label(Label&& other) { *this = std::move(other); }
- Label& operator=(Label&& other) {
+ Label(Label&& other) V8_NOEXCEPT { *this = std::move(other); }
+ Label& operator=(Label&& other) V8_NOEXCEPT {
pos_ = other.pos_;
near_link_pos_ = other.near_link_pos_;
other.Unuse();
@@ -41,8 +41,8 @@ class Label {
return *this;
}
#else
- Label(Label&&) = default;
- Label& operator=(Label&&) = default;
+ Label(Label&&) V8_NOEXCEPT = default;
+ Label& operator=(Label&&) V8_NOEXCEPT = default;
#endif
#endif