From Marco Jez, warning fixes.

This commit is contained in:
Robert Osfield
2005-11-15 11:43:29 +00:00
parent 71e202cb38
commit 20ce2ada9f

View File

@@ -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<typename T>
@@ -41,6 +42,8 @@ namespace osgIntrospection
{
return variant_cast<const T &>(l) <= variant_cast<const T &>(r);
}
virtual ~TotalOrderComparator() {}
};
template<typename T>
@@ -55,6 +58,8 @@ namespace osgIntrospection
{
throw ComparisonOperatorNotSupportedException(typeid(T), "less than or equal to");
}
virtual ~PartialOrderComparator() {}
};
}