fix: Made default and copy constructors explicit. Diffs= 5e33d8c96 fix: Made default and copy constructors explicit. (#6203) Co-authored-by: DragoČ™ Tiselice <dragos@rive.app> Co-authored-by: Luigi Rosso <luigi.rosso@gmail.com>
diff --git a/.rive_head b/.rive_head index b089dd8..6ade423 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -ef8a4e7f711aef6b2d468a885a79f919118bae70 +5e33d8c962c55236d7de4275cd3ab4b040d9065f
diff --git a/dev/test/include/catch.hpp b/dev/test/include/catch.hpp index 6fd7df1..348ab9d 100644 --- a/dev/test/include/catch.hpp +++ b/dev/test/include/catch.hpp
@@ -262,6 +262,11 @@ // _MSVC_TRADITIONAL == 0 means new conformant preprocessor // _MSVC_TRADITIONAL == 1 means old traditional non-conformant preprocessor #if !defined(__clang__) // Handle Clang masquerading for msvc + +// Rive disabled warning based on discussion +// https://2dimensions.slack.com/archives/CLLCU09T6/p1699024342752529 +#pragma warning( disable : 5267 ) + #if !defined(_MSVC_TRADITIONAL) || (defined(_MSVC_TRADITIONAL) && _MSVC_TRADITIONAL) #define CATCH_INTERNAL_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR #endif // MSVC_TRADITIONAL
diff --git a/include/rive/core.hpp b/include/rive/core.hpp index b397d49..8a94797 100644 --- a/include/rive/core.hpp +++ b/include/rive/core.hpp
@@ -12,6 +12,8 @@ class Core { public: + Core() = default; + Core(const Core&) = default; const uint32_t emptyId = -1; static const int invalidPropertyKey = 0; virtual ~Core() {}