mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 05:14:40 -04:00
add default constructor
This commit is contained in:
parent
6e0e822e22
commit
cc3c768aa5
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ namespace gd {
|
|||
}
|
||||
|
||||
public:
|
||||
string() {
|
||||
m_data.m_storage[0] = 0;
|
||||
m_data.m_length = 0;
|
||||
m_data.m_capacity = 15;
|
||||
}
|
||||
|
||||
string(string const& param) : string() {
|
||||
(void)this->winAssign(param.c_str(), param.size());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue