aboutsummaryrefslogtreecommitdiff
path: root/libbutl/small-vector.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/small-vector.mxx')
-rw-r--r--libbutl/small-vector.mxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/small-vector.mxx b/libbutl/small-vector.mxx
index eb1223e..fb77935 100644
--- a/libbutl/small-vector.mxx
+++ b/libbutl/small-vector.mxx
@@ -85,7 +85,7 @@ LIBBUTL_MODEXPORT namespace butl
{
assert (n >= N); // We should never be asked for less than N.
- if (n <= N)
+ if (n == N)
{
buf_->free_ = false;
return reinterpret_cast<T*> (buf_->data_);