[nostalgia/studio] Remove unnecessary c_str conversion
This commit is contained in:
parent
64c74cb9c1
commit
05224e3fb5
@ -99,7 +99,7 @@ ox::Error Project::writeObj(const ox::String &path, T *obj) const noexcept {
|
||||
typeOut.back().value = '\n';
|
||||
// write to FS
|
||||
ox::String descPath = "/.nostalgia/type_descriptors/";
|
||||
const auto typePath = descPath + type->typeName.c_str();
|
||||
const auto typePath = descPath + type->typeName;
|
||||
oxReturnError(mkdir(descPath));
|
||||
oxReturnError(writeBuff(typePath, typeOut));
|
||||
fileUpdated.emit(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user