aboutsummaryrefslogtreecommitdiffstats
path: root/executor/_include/flatbuffers/detached_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/_include/flatbuffers/detached_buffer.h')
-rw-r--r--executor/_include/flatbuffers/detached_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/_include/flatbuffers/detached_buffer.h b/executor/_include/flatbuffers/detached_buffer.h
index 760a08845..5e900baeb 100644
--- a/executor/_include/flatbuffers/detached_buffer.h
+++ b/executor/_include/flatbuffers/detached_buffer.h
@@ -45,7 +45,7 @@ class DetachedBuffer {
cur_(cur),
size_(sz) {}
- DetachedBuffer(DetachedBuffer &&other)
+ DetachedBuffer(DetachedBuffer &&other) noexcept
: allocator_(other.allocator_),
own_allocator_(other.own_allocator_),
buf_(other.buf_),
@@ -55,7 +55,7 @@ class DetachedBuffer {
other.reset();
}
- DetachedBuffer &operator=(DetachedBuffer &&other) {
+ DetachedBuffer &operator=(DetachedBuffer &&other) noexcept {
if (this == &other) return *this;
destroy();