X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fstructures%2Fbit_vector.cpp;h=6ae546fceecb5306dc783fa3ee067c0de153522a;hb=439ab002a9e16258fa411bd3b6151807e01bf070;hp=8c00528e9adeb9a1dc2d09793b81dad26f9008a9;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;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;