Fix deprecation compile warning in NetworkConfig on Clang
This commit is contained in:
@@ -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
|
||||
/// <summary>Ctor.</summary>
|
||||
NetworkConfig()
|
||||
{
|
||||
NetworkDriverType = NetworkDriverType::ENet;
|
||||
}
|
||||
NetworkConfig(const NetworkConfig& other) = default;
|
||||
NetworkConfig(NetworkConfig&& other) = default;
|
||||
NetworkConfig& operator=(const NetworkConfig& other) = default;
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user