mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 17:12:14 +11:00
🎨 simplified with .back()
This commit is contained in:
parent
15ef40b143
commit
23da8c686f
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ std::string Log::GetLogs() noexcept
|
||||||
log_snapshot += std::to_string(data[i].time);
|
log_snapshot += std::to_string(data[i].time);
|
||||||
log_snapshot += "},";
|
log_snapshot += "},";
|
||||||
}
|
}
|
||||||
log_snapshot[log_snapshot.size() - 1] = ']';
|
log_snapshot.back() = ']';
|
||||||
log_flag.SetChangesOff();
|
log_flag.SetChangesOff();
|
||||||
}
|
}
|
||||||
return log_snapshot;
|
return log_snapshot;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue