| Index: Source/bindings/templates/union.cpp
|
| diff --git a/Source/bindings/templates/union.cpp b/Source/bindings/templates/union.cpp
|
| index 3191d5e92e576220b17a627f764fb53ce34a2ba9..abc8218d79bc7d8b7fd2a4e8e51e5125f4254426 100644
|
| --- a/Source/bindings/templates/union.cpp
|
| +++ b/Source/bindings/templates/union.cpp
|
| @@ -56,6 +56,12 @@ void {{container.cpp_class}}::set{{member.type_name}}({{member.rvalue_cpp_type}}
|
| }
|
|
|
| {% endfor %}
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| +{{container.cpp_class}}::{{container.cpp_class}}(const {{container.cpp_class}}&) = default;
|
| +{{container.cpp_class}}::~{{container.cpp_class}}() = default;
|
| +{{container.cpp_class}}& {{container.cpp_class}}::operator=(const {{container.cpp_class}}&) = default;
|
| +#endif
|
| +
|
| {% if container.needs_trace %}
|
| DEFINE_TRACE({{container.cpp_class}})
|
| {
|
|
|