diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-22 08:10:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-22 08:10:00 +0200 |
commit | 23a168e7889cb9219575cfb8f78521bcab45605c (patch) | |
tree | e9fd424368f4cba8273ed2bce3b33dff0725f3f8 | |
parent | 634d73eb9a84e27cecf0cc39cf371f5d16556514 (diff) |
Fix minor issue in small_vector
-rw-r--r-- | libbutl/small-vector.mxx | 2 |
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_); |