Skip to content

Commit a390949

Browse files
committed
forgot two noexcepts
1 parent c61ec96 commit a390949

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
@@ -133,15 +133,15 @@ ResizeableSketchColumn::ResizeableSketchColumn(const ResizeableSketchColumn &oth
133133
}
134134
}
135135

136-
ResizeableSketchColumn::ResizeableSketchColumn(ResizeableSketchColumn &&other) :
136+
ResizeableSketchColumn::ResizeableSketchColumn(ResizeableSketchColumn &&other) noexcept :
137137
capacity(other.capacity), seed(other.seed), deterministic_bucket(other.deterministic_bucket) {
138138
// move constructor
139139
buckets = other.buckets;
140140
other.buckets = nullptr;
141141
other.capacity = 0;
142142
}
143143

144-
ResizeableSketchColumn& ResizeableSketchColumn::operator=(ResizeableSketchColumn &&other) {
144+
ResizeableSketchColumn& ResizeableSketchColumn::operator=(ResizeableSketchColumn &&other) noexcept {
145145
if (this != &other) {
146146
delete[] buckets;
147147
capacity = other.capacity;

0 commit comments

Comments
 (0)