X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftests_nodes%2Ftest_tree.cpp;h=1b60c4961f661f45a68109d94952ea13b13c8455;hb=ef338226ccf699c8d8a149d9b74e9888175c7099;hp=5d3516ce6be5fb1df92352a47ff40084386f1172;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;p=feisty_meow.git diff --git a/nucleus/library/tests_nodes/test_tree.cpp b/nucleus/library/tests_nodes/test_tree.cpp index 5d3516ce..1b60c496 100644 --- a/nucleus/library/tests_nodes/test_tree.cpp +++ b/nucleus/library/tests_nodes/test_tree.cpp @@ -37,7 +37,7 @@ const int test_iterations = 20; class bogotre : public packable, public tree { public: - bogotre(const char *start = NIL) : who_cares(42), i_sure_dont('l'), + bogotre(const char *start = NULL_POINTER) : who_cares(42), i_sure_dont('l'), another_useless_int(23) { astring to_init(start); if (to_init.length() < 1) to_init += "ack"; @@ -152,7 +152,7 @@ larch *test_tree::next(larch *&move, larch *formal(hook), traveller &skip) void test_tree::apply(larch *apply_to, applier *to_apply, tree::traversal_directions order) { - larch *curr = NIL; + larch *curr = NULL_POINTER; for (traveller skippy = apply_to->start(order); next(curr, apply_to, skippy); ) to_apply(curr); }