mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 17:52:27 +00:00
Make big_string pod (#1204)
`big_string` is not pod which means it needs to be properly constructed and destroyed. Instead make it POD and destroy it manually in `string` destructor.
This commit is contained in:
parent
d44a7dc603
commit
a0410f0170
2 changed files with 11 additions and 21 deletions
|
@ -38,8 +38,6 @@ struct big_string
|
|||
size_t c : sizeof(size_t) * 8 - 1;
|
||||
size_t big : 1 /* = 1 */;
|
||||
#endif
|
||||
|
||||
~big_string() /* noexcept */;
|
||||
};
|
||||
|
||||
} // namespace __
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue