Skip to content

Commit

Permalink
Stronger assert
Browse files Browse the repository at this point in the history
  • Loading branch information
SirTyson committed Nov 19, 2024
1 parent b820547 commit 0ab30fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bucket/BucketOutputIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ BucketOutputIterator<BucketT>::BucketOutputIterator(std::string const& tmpDir,
bme.metaEntry() = mMeta;
put(bme);
}
else
{
static_assert(false, "unexpected bucket type");
}

mPutMeta = true;
}
Expand Down

0 comments on commit 0ab30fa

Please sign in to comment.