summaryrefslogtreecommitdiff
path: root/core/io/resource_import.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/resource_import.h')
-rw-r--r--core/io/resource_import.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/io/resource_import.h b/core/io/resource_import.h
index 9d2a5180dc..d3f98cbc07 100644
--- a/core/io/resource_import.h
+++ b/core/io/resource_import.h
@@ -85,9 +85,9 @@ public:
PropertyInfo option;
Variant default_value;
- ImportOption(const PropertyInfo &p_info, const Variant &p_default) {
- option = p_info;
- default_value = p_default;
+ ImportOption(const PropertyInfo &p_info, const Variant &p_default)
+ : option(p_info),
+ default_value(p_default) {
}
ImportOption() {}
};