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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user