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:
@@ -987,7 +987,7 @@ bool global_settings::ConfigParseHardware(cParser& Parser, const std::string& to
|
||||
if (token == "uartfeature")
|
||||
{
|
||||
Parser.getTokens(1);
|
||||
std::string firstToken = Parser.peek();
|
||||
const std::string firstToken = Parser.peek();
|
||||
|
||||
if (firstToken.find('|') != std::string::npos || firstToken == "none" || uartfeatures_map.contains(firstToken))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user