mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 22:59:19 +02:00
reformat: use auto on certain types
This commit is contained in:
@@ -66,7 +66,7 @@ void AirCoupler::Init(std::string const &asName, TModel3d *Model)
|
||||
*/
|
||||
void AirCoupler::Load(cParser *Parser, TModel3d *Model)
|
||||
{
|
||||
auto name = Parser->getToken<std::string>();
|
||||
const auto name = Parser->getToken<std::string>();
|
||||
if(Model)
|
||||
{
|
||||
Init(name, Model);
|
||||
|
||||
Reference in New Issue
Block a user