mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
ZeekString: Implement move constructor
This commit is contained in:
parent
8fc5b7fcda
commit
0ecbd4435e
2 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,9 @@ public:
|
|||
// Constructor that takes ownership of the vector passed in.
|
||||
String(bool arg_final_NUL, byte_vec str, int arg_n);
|
||||
|
||||
// Move constructor
|
||||
String(String&& s) noexcept;
|
||||
|
||||
String();
|
||||
~String() { Reset(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue