Optimize compilation on MSVC as it can ommit include
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include "Engine/Core/Collections/Array.h"
|
||||
#include "Engine/Core/Collections/Dictionary.h"
|
||||
#include "Engine/Scripting/ScriptingObject.h"
|
||||
#include "Engine/Level/SceneObject.h"
|
||||
#include "Engine/Utilities/Encryption.h"
|
||||
|
||||
struct Version;
|
||||
@@ -23,6 +22,13 @@ class WeakAssetReference;
|
||||
template<typename T>
|
||||
class SoftAssetReference;
|
||||
|
||||
// Clang fails to properly resolve TIsBaseOf<SceneObject, T> without SceneObject defined
|
||||
#ifdef _MSC_VER
|
||||
class SceneObject;
|
||||
#else
|
||||
#include "Engine/Level/SceneObject.h"
|
||||
#endif
|
||||
|
||||
// @formatter:off
|
||||
|
||||
namespace Serialization
|
||||
|
||||
Reference in New Issue
Block a user