mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 15:59:18 +02:00
reformat: use auto on certain types
This commit is contained in:
@@ -37,7 +37,7 @@ void ui::vehiclelist_panel::render_contents()
|
||||
if (vehicle->Mechanik)
|
||||
timetable = vehicle->Mechanik->TrainName() + ", ";
|
||||
|
||||
std::string label = std::string(name + ", " + timetable + std::to_string(speed) + " km/h###");
|
||||
auto label = std::string(name + ", " + timetable + std::to_string(speed) + " km/h###");
|
||||
|
||||
ImGui::PushID(vehicle);
|
||||
if (ImGui::Button(label.c_str())) {
|
||||
|
||||
Reference in New Issue
Block a user