Skip to content

Commit 9ee568d

Browse files
committed
fix: compile error with TrackingStdAllocator
Signed-off-by: Shawn Wang <[email protected]>
1 parent 90baec1 commit 9ee568d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/common/TrackingStdAllocator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ struct TrackingStdAllocator : public std::allocator<T> {
2727
using other = TrackingStdAllocator<U>;
2828
};
2929

30-
TrackingStdAllocator() noexcept = default;
30+
TrackingStdAllocator() = default;
3131

32-
TrackingStdAllocator(const TrackingStdAllocator&) noexcept = default;
32+
TrackingStdAllocator(const TrackingStdAllocator&) = default;
3333

3434
template <class U>
35-
TrackingStdAllocator(const TrackingStdAllocator<U>& other) noexcept : base_type(), counter_(other.counter_) {
35+
TrackingStdAllocator(const TrackingStdAllocator<U>& other) : base_type(), counter_(other.counter_) {
3636
}
3737

3838
pointer

0 commit comments

Comments
 (0)