X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Ftools%2Fclam_tools%2Fvalue_tagger.cpp;h=9fb6c780b7d0c42e55d97e7daed1e260e563e248;hb=d7e8a05960951d8ce67e36c587726a851e2f5165;hp=80debd79ffe5cc3f1d2527bc775f8fd267824558;hpb=fa30e6adff1dea5d6b3903279ef024dd3bed043f;p=feisty_meow.git diff --git a/nucleus/tools/clam_tools/value_tagger.cpp b/nucleus/tools/clam_tools/value_tagger.cpp index 80debd79..9fb6c780 100644 --- a/nucleus/tools/clam_tools/value_tagger.cpp +++ b/nucleus/tools/clam_tools/value_tagger.cpp @@ -24,7 +24,6 @@ * Please send any updates to: fred@gruntose.com * \*****************************************************************************/ -#include #include #include #include @@ -46,6 +45,8 @@ #include #include + +#include "../../library/algorithms/sorts.h" #ifdef __WIN32__ #include #endif @@ -100,7 +101,7 @@ class search_record { public: search_record(const astring &search = astring::empty_string(), - bool is_link = false, search_record *link = NIL) + bool is_link = false, search_record *link = NULL_POINTER) : _search(search), _no_modify(false), _is_link(is_link), _our_link(link), _current_value(0), _value_increment(1) {} @@ -215,7 +216,7 @@ private: value_tagger::value_tagger() : application_shell(), - _ini(NIL), + _ini(NULL_POINTER), _dirs_seen(10) { } @@ -411,7 +412,7 @@ variables before running a build.\r\n"; { // check for whether this section is linked to another or not. astring linked = _ini->load(curr_name, "link", ""); - search_record *our_link_found = NIL; + search_record *our_link_found = NULL_POINTER; if (linked.t()) { // we found that this should be linked to another item. our_link_found = _search_list.find(linked);