summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/smart_schema.h
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-08-14 11:33:12 -0400
committerJackLivio <jack@livio.io>2018-08-14 11:33:12 -0400
commit0db99f84ab344b82fab71200e43b67adbb2e2575 (patch)
treed1d532d0d90dd51a049bdf939460494af4d08ff4 /src/components/smart_objects/include/smart_objects/smart_schema.h
parente9c323f25a721ca5367c4ff125e1565dcade33a9 (diff)
downloadsdl_core-0db99f84ab344b82fab71200e43b67adbb2e2575.tar.gz
Remove redundant function validate
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.h14
1 files changed, 2 insertions, 12 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 5ab96e82bd..d3fcc0e28d 100644
--- a/src/components/smart_objects/include/smart_objects/smart_schema.h
+++ b/src/components/smart_objects/include/smart_objects/smart_schema.h
@@ -76,23 +76,13 @@ class CSmartSchema FINAL {
*
* @param Object Object to validate.
* @param report__ object for reporting errors during validation
- *
- * @return NsSmartObjects::Errors::eType
- **/
- Errors::eType validate(const SmartObject& Object,
- rpc::ValidationReport* report__) const;
-
- /**
- * @brief Validate smart object.
- *
- * @param Object Object to validate.
- * @param report__ object for reporting errors during validation
* @param MessageVersion to check mobile RPC version against RPC Spec History
* @return NsSmartObjects::Errors::eType
**/
Errors::eType validate(const SmartObject& Object,
rpc::ValidationReport* report__,
- const utils::SemanticVersion& messageVersion) const;
+ const utils::SemanticVersion& messageVersion =
+ utils::SemanticVersion()) const;
/**
* @brief Set new root schema item.