missing in 5fd81c255e244a9ee727367304a43d7deb64446e

Dieser Commit ist enthalten in:
Reinder Feenstra 2022-04-24 19:48:49 +02:00
Ursprung d4a4b64106
Commit 935e259479
2 geänderte Dateien mit 12 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -53,6 +53,12 @@ class IOHandler
virtual bool send(std::string_view message) = 0;
};
template<class T>
constexpr bool isSimulation()
{
return false;
}
}
#endif

Datei anzeigen

@ -49,6 +49,12 @@ class SimulationIOHandler final : public IOHandler
bool send(std::string_view message) final;
};
template<>
constexpr bool isSimulation<SimulationIOHandler>()
{
return true;
}
}
#endif