mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
b server
fix crashing
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
#include "simulator_base.hpp"
|
||||
#include "websocket.hpp"
|
||||
|
||||
#define INSERT_SIMULATOR(type) m_simulators.insert(std::make_pair(type().name(), std::make_unique<type>(&m_com, this)));
|
||||
#define INSERT_SIMULATOR(type) \
|
||||
m_simulators.insert(std::make_pair(type(&m_com).name(), std::make_unique<type>(&m_com, this)));
|
||||
|
||||
class Simulators : public QObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user