Skip to content

Commit

Permalink
Add default copy constructor for Schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Mar 6, 2019
1 parent 888f64e commit 7270ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpp/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ namespace statiskit

struct STATISKIT_CORE_API Schedule
{
Schedule(const Schedule& schedule) = default;
virtual ~Schedule() = 0;

virtual double operator() (const double& stage) const = 0;

virtual std::unique_ptr< Schedule > copy() const = 0;
Expand Down

0 comments on commit 7270ba6

Please sign in to comment.