From 2b52b91229de41f97a44e775fe0069efe7bb4d48 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 1 Apr 2021 16:49:56 -0400 Subject: [PATCH] partly working mac build settings from last update errors now seem more reasonable, although warnings are still a huge spew. need to determine why the warnings shot up, once things build normally again. --- nucleus/library/structures/amorph.h | 2 +- nucleus/tools/clam_tools/value_tagger.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nucleus/library/structures/amorph.h b/nucleus/library/structures/amorph.h index c4992cfb..69cf27b1 100644 --- a/nucleus/library/structures/amorph.h +++ b/nucleus/library/structures/amorph.h @@ -55,7 +55,7 @@ namespace structures { template -class amorph : private basis::array +class amorph : protected basis::array { public: amorph(int elements = 0); diff --git a/nucleus/tools/clam_tools/value_tagger.cpp b/nucleus/tools/clam_tools/value_tagger.cpp index 9fb6c780..d90dac3e 100644 --- a/nucleus/tools/clam_tools/value_tagger.cpp +++ b/nucleus/tools/clam_tools/value_tagger.cpp @@ -166,6 +166,8 @@ public: simple_sorter(int index = 0, int value = 0) : _index(index), _value(value) {} bool operator < (const simple_sorter &to_compare) const { return _value < to_compare._value; } + bool operator > (const simple_sorter &to_compare) const + { return _value > to_compare._value; } bool operator == (const simple_sorter &to_compare) const { return _value == to_compare._value; } }; -- 2.34.1