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:
Max Kellermann 2019-05-08 22:34:33 +02:00
parent 98e6a861ca
commit a48604d2e3

View File

@ -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);
} }