commit | 9a64b56334e6da99c2dc52811b90279457b12bef | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Sep 25 14:00:44 2018 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Sep 25 14:00:44 2018 -0700 |
tree | 3b78a9947b5bfffd50d5939cde24cfacf1577a5b | |
parent | 30b17e32f0b403a97cef7c4d1fcab471fa316340 [diff] [blame] |
Add noexcept to move constructors and assignment operators. Bug: 116614593 Test: build with WITH_TIDY=1 Change-Id: I9f8760cddb3c25255cd24604606af84d837d55e9
diff --git a/linker/linked_list.h b/linker/linked_list.h index 048ea4d..7f70a2c 100644 --- a/linker/linked_list.h +++ b/linker/linked_list.h
@@ -84,7 +84,7 @@ clear(); } - LinkedList(LinkedList&& that) { + LinkedList(LinkedList&& that) noexcept { this->head_ = that.head_; this->tail_ = that.tail_; that.head_ = that.tail_ = nullptr;