Commit 194467d5 authored by Volker Krause's avatar Volker Krause
Browse files

ExtractorValidator::isValidElement should be const

parent c008f748
......@@ -209,7 +209,7 @@ bool ExtractorValidatorPrivate::isSupportedTopLevelType(const QVariant &elem) co
return false;
bool ExtractorValidator::isValidElement(const QVariant &elem)
bool ExtractorValidator::isValidElement(const QVariant &elem) const
// check this is an allowed top-level type
if (!d->isSupportedTopLevelType(elem)) {
......@@ -46,7 +46,7 @@ public:
* This will accept both Reservation object and things
* that can be reserved as top-level objects.
bool isValidElement(const QVariant &elem);
bool isValidElement(const QVariant &elem) const;
/** Sets the list of supported top-level types that should be accepted.
* Providing an empty set of types will accept all top-level types.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment