16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 07:59:18 +02:00

reformat: use auto on certain types

This commit is contained in:
jerrrrycho
2026-07-04 05:22:52 +02:00
parent f61068ff89
commit 20e7a99516
118 changed files with 2118 additions and 2063 deletions

View File

@@ -60,7 +60,7 @@ std::string filename_date() {
std::string filename_scenery() {
auto extension = Global.SceneryFile.rfind( '.' );
const auto extension = Global.SceneryFile.rfind( '.' );
if( extension != std::string::npos ) {
return Global.SceneryFile.substr( 0, extension );
}
@@ -99,7 +99,7 @@ void LogService()
{
logMutex.lock();
std::string msg = InfoStack.front().first;
bool isError = InfoStack.front().second;
const bool isError = InfoStack.front().second;
InfoStack.pop_front();
logMutex.unlock();