Update kernel

This commit is contained in:
EnderIce2
2024-01-19 06:47:42 +02:00
parent fd15592608
commit 96daa43d38
282 changed files with 25486 additions and 15700 deletions

View File

@ -113,14 +113,14 @@ namespace std
delete[] this->Data, this->Data = nullptr;
}
size_t length() const
size_t length()
{
v_strdbg("%#lx: String length: %d",
this, this->Length);
return this->Length;
}
size_t capacity() const
size_t capacity()
{
v_strdbg("%#lx: String capacity: %d",
this, this->Capacity);
@ -174,14 +174,14 @@ namespace std
this, this->Data, this->Data, this->Length, this->Capacity);
}
bool empty() const
bool empty()
{
strdbg("%#lx: String empty: %d",
this, this->Length == 0);
return this->Length == 0;
}
size_t size() const
size_t size()
{
strdbg("%#lx: String size: %d",
this, this->Length);
@ -530,7 +530,7 @@ namespace std
return *this;
}
/* warning: implicitly-declared constexpr String::String(const String&) is deprecated [-Wdeprecated-copy] */
/* warning: implicitly-declared 'constexpr String::String(const String&)' is deprecated [-Wdeprecated-copy] */
string &operator=(const string &Other) = default;
// string &operator=(const string &Other)