Merge in SNORT/snort3 from ~OSERHIIE/snort3:gcc5_compile_fix to master
Squashed commit of the following:
commit
d1b153c75fe8ca2de7d86f8078c482b23af5fa00
Author: Oleksandr Serhiienko <oserhiie@cisco.com>
Date: Fri Dec 3 02:46:58 2021 -0500
utils: (JSTokenizer) fix braces initialization compilation error (gcc5)
if (tmp_buffer)
switch_to_initial();
- brace_depth = {};
+ brace_depth = std::stack<uint16_t, std::vector<uint16_t>>();
token = UNDEFINED;
previous_group = ASI_OTHER;
newline_found = false;
- scope_stack = {};
+ scope_stack = std::stack<Scope>();
scope_stack.emplace(GLOBAL);
BEGIN(regst);
}