mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Mark swap
specialization noexcept
This commit is contained in:
parent
feec451bce
commit
a17ca4f870
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ private:
|
|||
Cookie(const Cookie& other) = delete;
|
||||
Cookie& operator=(const Cookie& other) = delete;
|
||||
|
||||
friend inline void swap(Cookie& lhs, Cookie& rhs) {
|
||||
friend inline void swap(Cookie& lhs, Cookie& rhs) noexcept {
|
||||
Cookie tmp = std::move(lhs);
|
||||
lhs = std::move(rhs);
|
||||
rhs = std::move(tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue