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

reformat: use auto on certain types

This commit is contained in:
jerrrrycho
2026-07-04 04:04:17 +02:00
parent a4c126b4ea
commit f61068ff89
53 changed files with 200 additions and 201 deletions

View File

@@ -87,8 +87,8 @@ void zmq_input::poll()
std::getline(stream, id1, '/');
std::getline(stream, id2, '/');
input_type type = input_type::none;
user_command cmd1 = user_command::none, cmd2 = user_command::none;
auto type = input_type::none;
auto cmd1 = user_command::none, cmd2 = user_command::none;
auto cmd1_it = nametocommandmap.find(id1);
if (cmd1_it != nametocommandmap.end())