util/SparseBuffer: remove bogus noexcept
from constructor
The HugeArray constructor can throw std::bad_alloc, and so can SparseBuffer's constructor.
This commit is contained in:
parent
98e6a861ca
commit
a48604d2e3
@ -106,7 +106,7 @@ class SparseBuffer {
|
|||||||
SparseMap map;
|
SparseMap map;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SparseBuffer(size_type size) noexcept
|
explicit SparseBuffer(size_type size)
|
||||||
:buffer(size), map(size) {
|
:buffer(size), map(size) {
|
||||||
buffer.ForkCow(false);
|
buffer.ForkCow(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user