base: remove error message in slab block

Issue #3111
This commit is contained in:
Alexander Boettcher 2019-04-04 14:57:15 +02:00 committed by Christian Helmuth
parent d1f37e66eb
commit 169c51d50d

View File

@ -225,10 +225,8 @@ Slab::Slab(size_t slab_size, size_t block_size, void *initial_sb,
if (!_curr_sb && _backing_store)
_curr_sb = _new_slab_block();
if (!_curr_sb) {
error("failed to obtain initial slab block");
if (!_curr_sb)
throw Out_of_memory();
}
/* init first slab block */
construct_at<Block>(_curr_sb, *this);