Skip to content

Commit

Permalink
Merge pull request #6 from wdconinc/bugfix-gcc-10-Werror-deprecated-copy
Browse files Browse the repository at this point in the history
Include default copy constructor for select classes
  • Loading branch information
zsweger authored Sep 23, 2022
2 parents 405ad45 + 120ec37 commit 72d6a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/eXevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class eXEvent
public:

eXEvent();
eXEvent(const eXEvent&) = default;
eXEvent(starlightConstants::event &ev);
~eXEvent();

Expand Down
1 change: 1 addition & 0 deletions include/vector3.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class vector3
{
public:
vector3();
vector3(const vector3&) = default;
vector3(double *vec);
vector3(double x, double y, double z);
virtual ~vector3();
Expand Down

0 comments on commit 72d6a04

Please sign in to comment.