From: Chris Koeritz Date: Mon, 30 Oct 2017 01:31:54 +0000 (-0400) Subject: class fix for modernistic compilers X-Git-Tag: 2.140.90~124 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d60e7a2467ab8be80a06ba670ccba1819ca7c0e4;p=feisty_meow.git class fix for modernistic compilers visual studio of some vintage hated the NEXT_NODE class constant and insisted that it needed to be static if it has an initializer, so that's what it got. --- diff --git a/nucleus/library/nodes/singly_linked_list.h b/nucleus/library/nodes/singly_linked_list.h index d58f20fb..4c4a2110 100644 --- a/nucleus/library/nodes/singly_linked_list.h +++ b/nucleus/library/nodes/singly_linked_list.h @@ -28,7 +28,8 @@ public: //hmmm: clean up all children? ~singly_linked_list() {} - const int NEXT_NODE = 0; // symbol for the rest of the list linked here. + // symbol for the rest of the list linked here. + static const int NEXT_NODE = 0; int elements() const; //!< returns the number of items currently in the list, including this node.