Fix XFile name for $ and {}

Memleak copy constructor
This commit is contained in:
Madrich
2015-03-14 20:52:53 +01:00
parent edd3ed9e8f
commit c4eb04bb8c
2 changed files with 7 additions and 6 deletions

View File

@@ -495,13 +495,11 @@ void Exporter :: UnregisterExporter(const char* id)
ExportProperties :: ExportProperties() {}
ExportProperties::ExportProperties(const ExportProperties &other)
: mIntProperties(other.mIntProperties),
mFloatProperties(other.mFloatProperties),
mStringProperties(other.mStringProperties),
mMatrixProperties(other.mMatrixProperties)
{
new(this) ExportProperties();
mIntProperties = other.mIntProperties;
mFloatProperties = other.mFloatProperties;
mStringProperties = other.mStringProperties;
mMatrixProperties = other.mMatrixProperties;
}