Manually fix up 100 more instances where it should be defaulted

This commit is contained in:
Aaron Gokaslan
2022-08-25 12:20:13 -04:00
parent 6fa21dcc6e
commit e93fa6699a
71 changed files with 96 additions and 295 deletions

View File

@@ -585,19 +585,10 @@ void Exporter::UnregisterExporter(const char* id) {
}
// ------------------------------------------------------------------------------------------------
ExportProperties::ExportProperties() {
// empty
}
ExportProperties::ExportProperties() = default;
// ------------------------------------------------------------------------------------------------
ExportProperties::ExportProperties(const ExportProperties &other)
: mIntProperties(other.mIntProperties)
, mFloatProperties(other.mFloatProperties)
, mStringProperties(other.mStringProperties)
, mMatrixProperties(other.mMatrixProperties)
, mCallbackProperties(other.mCallbackProperties){
// empty
}
ExportProperties::ExportProperties(const ExportProperties &other) = default;
bool ExportProperties::SetPropertyCallback(const char *szName, const std::function<void *(void *)> &f) {
return SetGenericProperty<std::function<void *(void *)>>(mCallbackProperties, szName, f);