diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-14 12:53:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 12:53:38 +0200 |
commit | 5f5f53e8eba5c9b708714de58d3cca6ceb010279 (patch) | |
tree | 8bebdce946466ce8e9476ccd46c9dba62c323938 /editor/editor_export.h | |
parent | e7c9d818766a119089873e4941e4865fb36883ec (diff) | |
parent | 1f6f364a56319eabd02c050746fe7df3f55ffee3 (diff) |
Merge pull request #38697 from akien-mga/member-init-c++11
Port member default initialization from constructor to declaration (C++11)
Diffstat (limited to 'editor/editor_export.h')
-rw-r--r-- | editor/editor_export.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_export.h b/editor/editor_export.h index 50d1ff66c6..1dedc21350 100644 --- a/editor/editor_export.h +++ b/editor/editor_export.h @@ -61,14 +61,14 @@ public: private: Ref<EditorExportPlatform> platform; - ExportFilter export_filter; + ExportFilter export_filter = EXPORT_ALL_RESOURCES; String include_filter; String exclude_filter; String export_path; String exporter; Set<String> selected_files; - bool runnable; + bool runnable = false; Vector<String> patches; @@ -82,7 +82,7 @@ private: String custom_features; - int script_mode; + int script_mode = MODE_SCRIPT_COMPILED; String script_key; protected: @@ -136,7 +136,7 @@ public: const List<PropertyInfo> &get_properties() const { return properties; } - EditorExportPreset(); + EditorExportPreset() {} }; struct SharedObject { |