X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fstructures%2Fset.h;h=70b19b0c3ae82dddd115e97f63c7e5052992350f;hb=75a058d4d4e73774d904cf7a4f968263ad178bb2;hp=48e7a74a82d7744cbe926d4b370c2375646a8f49;hpb=936edc460f256ba5ddba2ad1c80e8d278b9608cc;p=feisty_meow.git diff --git a/nucleus/library/structures/set.h b/nucleus/library/structures/set.h index 48e7a74a..70b19b0c 100644 --- a/nucleus/library/structures/set.h +++ b/nucleus/library/structures/set.h @@ -38,7 +38,7 @@ public: //! Constructs a set with "num" elements, copying them from "init". /*! Be very careful to ensure that the array "init" has sufficient length for "num" elements to be copied from it. */ - set(int num = 0, const contents *init = NIL, + set(int num = 0, const contents *init = NULL_POINTER, basis::un_short flags = basis::array::EXPONE) : basis::array(num, init, flags) {} @@ -259,7 +259,7 @@ bool set::remove(const contents &to_remove) template set set::intersection(const set &intersect_with) const { - set created(0, NIL, this->flags()); + set created(0, NULL_POINTER, this->flags()); const set *smaller = this; const set *larger = &intersect_with; if (elements() > intersect_with.elements()) {