Add missing setting of type in session::Key move operations

This commit is contained in:
Tim Wojtulewicz 2025-05-28 09:29:13 -07:00
parent db69773d23
commit df852255c6

View file

@ -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;