From 20ce2ada9fbe52b87b54b07cc114024631abe39b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 15 Nov 2005 11:43:29 +0000 Subject: [PATCH] From Marco Jez, warning fixes. --- include/osgIntrospection/Comparator | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osgIntrospection/Comparator b/include/osgIntrospection/Comparator index 85fc28c02..cb024b83b 100644 --- a/include/osgIntrospection/Comparator +++ b/include/osgIntrospection/Comparator @@ -25,6 +25,7 @@ namespace osgIntrospection { virtual bool isEqualTo(const Value& l, const Value& r) const = 0; virtual bool isLessThanOrEqualTo(const Value& l, const Value& r) const = 0; + virtual ~Comparator() {} }; template @@ -41,6 +42,8 @@ namespace osgIntrospection { return variant_cast(l) <= variant_cast(r); } + + virtual ~TotalOrderComparator() {} }; template @@ -55,6 +58,8 @@ namespace osgIntrospection { throw ComparisonOperatorNotSupportedException(typeid(T), "less than or equal to"); } + + virtual ~PartialOrderComparator() {} }; }