core: sstring: move initialized_later to be a public member
It's required for instantiating a sstring with the constructor basic_sstring(initialized_later, size_t size). Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
This commit is contained in:
committed by
Avi Kivity
parent
6188745a98
commit
d382a314b3
@@ -43,8 +43,9 @@ class basic_sstring {
|
||||
char* str() {
|
||||
return is_internal() ? u.internal.str : u.external.str;
|
||||
}
|
||||
struct initialized_later {};
|
||||
public:
|
||||
struct initialized_later {};
|
||||
|
||||
basic_sstring() noexcept {
|
||||
u.internal.size = 0;
|
||||
u.internal.str[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user