Skip to content

Commit c61ec96

Browse files
committed
added some noexcepts
1 parent 4ad8eee commit c61ec96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sketch_columns.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ FixedSizeSketchColumn::FixedSizeSketchColumn(const FixedSizeSketchColumn &other)
2222
}
2323
}
2424

25-
FixedSizeSketchColumn::FixedSizeSketchColumn(FixedSizeSketchColumn &&other) :
25+
FixedSizeSketchColumn::FixedSizeSketchColumn(FixedSizeSketchColumn &&other) noexcept :
2626
capacity(other.capacity), seed(other.seed), deterministic_bucket(other.deterministic_bucket) {
2727
buckets = other.buckets;
2828
other.buckets = nullptr;
2929
other.capacity = 0;
3030
}
3131

32-
FixedSizeSketchColumn& FixedSizeSketchColumn::operator=(FixedSizeSketchColumn &&other) {
32+
FixedSizeSketchColumn& FixedSizeSketchColumn::operator=(FixedSizeSketchColumn &&other) noexcept {
3333
if (this != &other) {
3434
delete[] buckets;
3535
capacity = other.capacity;

0 commit comments

Comments
 (0)