fix: str() => cstr() in cstringstream

This commit is contained in:
Daniel Hammer
2025-03-01 03:44:22 +04:00
parent fa0bf6df99
commit db005c0404
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,6 +76,6 @@ kcp::cstringstream& kcp::cstringstream::operator<<(base nb)
current_base = nb; current_base = nb;
} }
const char* kcp::cstringstream::str() { const char* kcp::cstringstream::cstr() {
return this->string; return this->string;
} }
+1 -1
View File
@@ -38,6 +38,6 @@ namespace kcp {
cstringstream& operator<<(base nb); cstringstream& operator<<(base nb);
const char* str(); const char* cstr();
}; };
}; };