summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/smart_schema.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/smart_schema.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/smart_schema.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/smart_objects/include/smart_objects/smart_schema.h b/src/components/smart_objects/include/smart_objects/smart_schema.h
index 41737fed25..d9ef7ae418 100644
--- a/src/components/smart_objects/include/smart_objects/smart_schema.h
+++ b/src/components/smart_objects/include/smart_objects/smart_schema.h
@@ -68,10 +68,11 @@ class CSmartSchema FINAL {
* @param MessageVersion to check mobile RPC version against RPC Spec History
* @return ns_smart_objects::errors::eType
**/
- errors::eType validate(const SmartObject& Object,
- rpc::ValidationReport* report__,
- const utils::SemanticVersion& messageVersion =
- utils::SemanticVersion()) const;
+ errors::eType validate(
+ const SmartObject& Object,
+ rpc::ValidationReport* report__,
+ const utils::SemanticVersion& messageVersion = utils::SemanticVersion(),
+ const bool allow_unknown_parameters = false) const;
/**
* @brief Set new root schema item.