[nostalgia/studio] Update Vector::back usage
This commit is contained in:
parent
09383401e5
commit
6664462391
@ -105,7 +105,7 @@ void Project::writeObj(QString path, T *obj) const {
|
|||||||
auto typeOut = ox::writeClaw(type.value, ox::ClawFormat::Organic);
|
auto typeOut = ox::writeClaw(type.value, ox::ClawFormat::Organic);
|
||||||
oxThrowError(typeOut);
|
oxThrowError(typeOut);
|
||||||
// replace garbage last character with new line
|
// replace garbage last character with new line
|
||||||
typeOut.value.back() = '\n';
|
typeOut.value.back().value = '\n';
|
||||||
// write to FS
|
// write to FS
|
||||||
QString descPath = "/.nostalgia/type_descriptors/";
|
QString descPath = "/.nostalgia/type_descriptors/";
|
||||||
const auto typePath = descPath + type.value->typeName.c_str();
|
const auto typePath = descPath + type.value->typeName.c_str();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user