summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/string_schema_item.h
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2017-11-30 15:19:11 -0500
committerjacobkeeler <jacob.keeler@livioradio.com>2017-11-30 15:19:11 -0500
commit273e26304efb215af3416f86ab86c1c7fd39f974 (patch)
tree5b756554c190eec764565076c84c9a3fb5c3193a /src/components/smart_objects/include/smart_objects/string_schema_item.h
parent3800d598555ea45f2b61741b53a959cdd678e705 (diff)
downloadsdl_core-273e26304efb215af3416f86ab86c1c7fd39f974.tar.gz
Use ValidationReport objects for reporting rather than strings
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/string_schema_item.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/string_schema_item.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/smart_objects/include/smart_objects/string_schema_item.h b/src/components/smart_objects/include/smart_objects/string_schema_item.h
index 755e2f7258..abe9c9d1f1 100644
--- a/src/components/smart_objects/include/smart_objects/string_schema_item.h
+++ b/src/components/smart_objects/include/smart_objects/string_schema_item.h
@@ -72,12 +72,11 @@ class CStringSchemaItem : public CDefaultSchemaItem<std::string> {
/**
* @brief Validate smart object.
* @param Object Object to validate.
- * @param errorMessage string reference to be filled with an appropriate error
- *message if an error occurs
+ * @param report__ object for reporting errors during validation
* @return NsSmartObjects::Errors::eType
**/
Errors::eType validate(const SmartObject& Object,
- std::string& errorMessage) OVERRIDE;
+ rpc::ValidationReport* report__) OVERRIDE;
private:
/**