mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Miscellaneous deprecations and renaming
This commit is contained in:
parent
d875ad1a96
commit
4d4c6280e9
14 changed files with 57 additions and 57 deletions
|
@ -26,9 +26,6 @@ using namespace std::string_literals;
|
|||
namespace zeek
|
||||
{
|
||||
|
||||
constexpr int String::EXPANDED_STRING;
|
||||
constexpr int String::BRO_STRING_LITERAL;
|
||||
|
||||
// This constructor forces the user to specify arg_final_NUL. When str
|
||||
// is a *normal* NUL-terminated string, make arg_n == strlen(str) and
|
||||
// arg_final_NUL == 1; when str is a sequence of n bytes, make
|
||||
|
@ -678,7 +675,7 @@ TEST_CASE("rendering")
|
|||
CHECK_EQ(test_length, 7);
|
||||
delete[] r;
|
||||
|
||||
r = s2.Render(zeek::String::BRO_STRING_LITERAL);
|
||||
r = s2.Render(zeek::String::ZEEK_STRING_LITERAL);
|
||||
CHECK_EQ(std::string(r), "\\x03\\x04\\x05\\x06\\\\\\\'");
|
||||
delete[] r;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue