summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/src/smart_object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/smart_objects/src/smart_object.cc')
-rw-r--r--src/components/smart_objects/src/smart_object.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/smart_objects/src/smart_object.cc b/src/components/smart_objects/src/smart_object.cc
index 5c90de5671..cf6f290971 100644
--- a/src/components/smart_objects/src/smart_object.cc
+++ b/src/components/smart_objects/src/smart_object.cc
@@ -869,11 +869,14 @@ bool SmartObject::erase(const std::string& Key) {
}
bool SmartObject::isValid() const {
- return (Errors::OK == m_schema.validate(*this));
+ rpc::ValidationReport report("RPC");
+ return (Errors::OK == m_schema.validate(*this, &report));
}
-Errors::eType SmartObject::validate() {
- return m_schema.validate(*this);
+Errors::eType SmartObject::validate(
+ rpc::ValidationReport* report__,
+ const utils::SemanticVersion& MessageVersion) {
+ return m_schema.validate(*this, report__, MessageVersion);
}
void SmartObject::setSchema(const CSmartSchema& schema) {