diff --git a/Engine/source/assets/tamlAssetDeclaredUpdateVisitor.h b/Engine/source/assets/tamlAssetDeclaredUpdateVisitor.h index 7a022d1d2..54a4de8e9 100644 --- a/Engine/source/assets/tamlAssetDeclaredUpdateVisitor.h +++ b/Engine/source/assets/tamlAssetDeclaredUpdateVisitor.h @@ -49,7 +49,10 @@ private: StringTableEntry mAssetNameTo; public: - TamlAssetDeclaredUpdateVisitor() {} + TamlAssetDeclaredUpdateVisitor(): + mAssetIdFrom(StringTable->EmptyString()), mAssetIdTo(StringTable->EmptyString()), + mAssetNameFrom(StringTable->EmptyString()), mAssetNameTo(StringTable->EmptyString()) {} + virtual ~TamlAssetDeclaredUpdateVisitor() {} void setAssetIdFrom( const char* pAssetIdFrom ) diff --git a/Engine/source/assets/tamlAssetReferencedUpdateVisitor.h b/Engine/source/assets/tamlAssetReferencedUpdateVisitor.h index 3bf3623a4..499fc7428 100644 --- a/Engine/source/assets/tamlAssetReferencedUpdateVisitor.h +++ b/Engine/source/assets/tamlAssetReferencedUpdateVisitor.h @@ -55,7 +55,7 @@ private: StringTableEntry mAssetIdTo; public: - TamlAssetReferencedUpdateVisitor() {} + TamlAssetReferencedUpdateVisitor() : mAssetIdFrom(StringTable->EmptyString()), mAssetIdTo(StringTable->EmptyString()) {} virtual ~TamlAssetReferencedUpdateVisitor() {} void setAssetIdFrom( const char* pAssetIdFrom )