Skip to content

Commit

Permalink
Fix two compiler warnings (#178)
Browse files Browse the repository at this point in the history
* Bump the version of SIO

* Explicitly initialize the base class

---------

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Dec 13, 2023
1 parent 3687a34 commit fafe8f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ IF( NOT SIO_FOUND )
include(FetchContent)
FetchContent_Declare(sio_extern
GIT_REPOSITORY https://github.com/iLCSoft/SIO.git
GIT_TAG v00-01
GIT_TAG v00-02
GIT_SHALLOW 1
# FIND_PACKAGE_ARGS
)
Expand Down
1 change: 1 addition & 0 deletions src/cpp/include/IMPL/AccessChecked.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace IMPL {

public:
AccessChecked() ;
AccessChecked(const AccessChecked&) = default;
virtual ~AccessChecked() = default;
virtual int simpleUID() const { return _id ; }

Expand Down
2 changes: 1 addition & 1 deletion src/cpp/src/IMPL/TrackImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace IMPL {
}

// copy constructor
TrackImpl::TrackImpl(const TrackImpl& o)
TrackImpl::TrackImpl(const TrackImpl& o) : AccessChecked(o)
{

*this = o ; // call operator =
Expand Down

0 comments on commit fafe8f6

Please sign in to comment.