mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
15 lines
399 B
C++
Executable file
15 lines
399 B
C++
Executable file
#include "sead/seadSafeString.h"
|
|
#include <cstring>
|
|
|
|
namespace sead
|
|
{
|
|
template <>
|
|
const char SafeStringBase<char>::cNullChar = '\0';
|
|
|
|
template <>
|
|
void BufferedSafeStringBase<char>::assureTerminationImpl_() const
|
|
{
|
|
auto* mutableSafeString = const_cast<BufferedSafeStringBase<char>*>(this);
|
|
mutableSafeString->getMutableStringTop_()[mSize - 1] = cNullChar;
|
|
}
|
|
}; |