diff --git a/Source/Engine/Networking/NetworkConfig.h b/Source/Engine/Networking/NetworkConfig.h index d875c49b4..b92d822cb 100644 --- a/Source/Engine/Networking/NetworkConfig.h +++ b/Source/Engine/Networking/NetworkConfig.h @@ -82,11 +82,14 @@ API_STRUCT(Namespace="FlaxEngine.Networking") struct FLAXENGINE_API NetworkConfi API_FIELD() uint16 MessagePoolSize = 2048; + // Ignore deprecation warnings in defaults PRAGMA_DISABLE_DEPRECATION_WARNINGS - /// Ctor. NetworkConfig() { NetworkDriverType = NetworkDriverType::ENet; } + NetworkConfig(const NetworkConfig& other) = default; + NetworkConfig(NetworkConfig&& other) = default; + NetworkConfig& operator=(const NetworkConfig& other) = default; PRAGMA_ENABLE_DEPRECATION_WARNINGS };