Skip to content

Commit

Permalink
fix: Made default and copy constructors explicit.
Browse files Browse the repository at this point in the history
Diffs=
5e33d8c96 fix: Made default and copy constructors explicit. (#6203)

Co-authored-by: Dragoș Tiselice <[email protected]>
Co-authored-by: Luigi Rosso <[email protected]>
  • Loading branch information
3 people committed Nov 3, 2023
1 parent 01b9218 commit 7508c1e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ef8a4e7f711aef6b2d468a885a79f919118bae70
5e33d8c962c55236d7de4275cd3ab4b040d9065f
5 changes: 5 additions & 0 deletions dev/test/include/catch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ namespace Catch {
// _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
Expand Down
2 changes: 2 additions & 0 deletions include/rive/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class ImportStack;
class Core
{
public:
Core() = default;
Core(const Core&) = default;
const uint32_t emptyId = -1;
static const int invalidPropertyKey = 0;
virtual ~Core() {}
Expand Down

0 comments on commit 7508c1e

Please sign in to comment.