Skip to content

Commit

Permalink
Add default assignment operator for TimeProfile class
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyscientist committed Aug 19, 2023
1 parent a92296b commit f8b3244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ namespace quda {
public:
TimeProfile() = default;
TimeProfile(const TimeProfile &) = default;
TimeProfile& operator=(const TimeProfile &) = default;

TimeProfile(std::string fname) : fname(fname), switchOff(false), use_global(true) { ; }

Expand Down

0 comments on commit f8b3244

Please sign in to comment.