diff --git a/include/boost/dynamic_bitset/dynamic_bitset.hpp b/include/boost/dynamic_bitset/dynamic_bitset.hpp index 2ed67ec6..6cc43642 100644 --- a/include/boost/dynamic_bitset/dynamic_bitset.hpp +++ b/include/boost/dynamic_bitset/dynamic_bitset.hpp @@ -816,8 +816,7 @@ void dynamic_bitset:: push_back(bool bit) { const size_type sz = size(); - resize(sz + 1); - set(sz, bit); + resize(sz + 1, bit); } template