X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=nucleus%2Flibrary%2Fstructures%2Fbit_vector.cpp;h=6ae546fceecb5306dc783fa3ee067c0de153522a;hb=6d54aee3bc6ce327d3903096aad7b27f9869790e;hp=8c00528e9adeb9a1dc2d09793b81dad26f9008a9;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/library/structures/bit_vector.cpp b/nucleus/library/structures/bit_vector.cpp index 8c00528e..6ae546fc 100644 --- a/nucleus/library/structures/bit_vector.cpp +++ b/nucleus/library/structures/bit_vector.cpp @@ -34,11 +34,11 @@ using namespace basis; namespace structures { bit_vector::bit_vector() -: _implementation(new byte_array(0, NIL)), _number_of_bits(0) +: _implementation(new byte_array(0, NULL_POINTER)), _number_of_bits(0) {} bit_vector::bit_vector(int number_of_bits, const abyte *initial) -: _implementation(new byte_array(0, NIL)), _number_of_bits(0) +: _implementation(new byte_array(0, NULL_POINTER)), _number_of_bits(0) { reset(number_of_bits); if (!initial) return;