missing in 5fd81c255e244a9ee727367304a43d7deb64446e
Dieser Commit ist enthalten in:
Ursprung
d4a4b64106
Commit
935e259479
@ -53,6 +53,12 @@ class IOHandler
|
||||
virtual bool send(std::string_view message) = 0;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
constexpr bool isSimulation()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@ -49,6 +49,12 @@ class SimulationIOHandler final : public IOHandler
|
||||
bool send(std::string_view message) final;
|
||||
};
|
||||
|
||||
template<>
|
||||
constexpr bool isSimulation<SimulationIOHandler>()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren