Skip to content

Commit fad2ba8

Browse files
move constructor added
1 parent 3453e5f commit fad2ba8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/osp/bsp/model/MaxBspSchedule.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ class MaxBspSchedule : public BspSchedule<Graph_t> {
7171

7272
MaxBspSchedule(const IBspSchedule<Graph_t> &schedule) : BspSchedule<Graph_t>(schedule) {}
7373

74+
MaxBspSchedule(IBspSchedule<Graph_t> &&schedule) : BspSchedule<Graph_t>(std::move(schedule)) {}
75+
7476
MaxBspSchedule(const MaxBspSchedule<Graph_t> &schedule) = default;
7577

7678
MaxBspSchedule<Graph_t> &operator=(const MaxBspSchedule<Graph_t> &schedule) = default;

0 commit comments

Comments
 (0)