mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add missing setting of type in session::Key move operations
This commit is contained in:
parent
db69773d23
commit
df852255c6
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ Key::Key(Key&& rhs) noexcept {
|
|||
data = rhs.data;
|
||||
size = rhs.size;
|
||||
copied = rhs.copied;
|
||||
type = rhs.type;
|
||||
|
||||
rhs.data = nullptr;
|
||||
rhs.size = 0;
|
||||
|
@ -30,6 +31,7 @@ Key& Key::operator=(Key&& rhs) noexcept {
|
|||
data = rhs.data;
|
||||
size = rhs.size;
|
||||
copied = rhs.copied;
|
||||
type = rhs.type;
|
||||
|
||||
rhs.data = nullptr;
|
||||
rhs.size = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue