1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix the no-HTTP builds

This commit is contained in:
Michał Janiszewski
2018-12-28 22:27:02 +01:00
parent 5b467ffc68
commit 54403aca06

View File

@@ -279,9 +279,9 @@ public:
virtual void Update() override{};
};
INetworkServerAdvertiser* CreateServerAdvertiser(uint16_t port)
std::unique_ptr<INetworkServerAdvertiser> CreateServerAdvertiser(uint16_t port)
{
return new DummyNetworkServerAdvertiser();
return std::make_unique<DummyNetworkServerAdvertiser>();
}
# endif // DISABLE_HTTP