diff options
-rw-r--r-- | linker/linked_list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linked_list.h b/linker/linked_list.h index 048ea4d99..7f70a2c7b 100644 --- a/linker/linked_list.h +++ b/linker/linked_list.h @@ -84,7 +84,7 @@ class LinkedList { clear(); } - LinkedList(LinkedList&& that) { + LinkedList(LinkedList&& that) noexcept { this->head_ = that.head_; this->tail_ = that.tail_; that.head_ = that.tail_ = nullptr; |