X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Falgorithms%2Fsorts.h;h=0b7cfc4bd9da20a2ea99656b17552ae063dc72f4;hb=be61ed18c4d72b09fb4f1425ebeed1598d5c7936;hp=592f9903add6815118a4837c4669db0a685ebb29;hpb=daec747ca024ed7e5fbd19ab390c6eaeac2a3737;p=feisty_meow.git diff --git a/nucleus/library/algorithms/sorts.h b/nucleus/library/algorithms/sorts.h index 592f9903..0b7cfc4b 100644 --- a/nucleus/library/algorithms/sorts.h +++ b/nucleus/library/algorithms/sorts.h @@ -18,6 +18,8 @@ #include +#include + namespace algorithms { /* @@ -266,9 +268,9 @@ namespace algorithms { } private: - bool _reverse = false; // is the sorting in reverse? - int _total = 0; - int *_heapspace = NULL_POINTER; + bool _reverse; // is the sorting in reverse? + int _total; // how many total elements are there? + int *_heapspace; // track a pointer to the array. }; /*!