summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/always_true_schema_item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/always_true_schema_item.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/always_true_schema_item.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/smart_objects/include/smart_objects/always_true_schema_item.h b/src/components/smart_objects/include/smart_objects/always_true_schema_item.h
index 54e8bc9baa..0141e12ecb 100644
--- a/src/components/smart_objects/include/smart_objects/always_true_schema_item.h
+++ b/src/components/smart_objects/include/smart_objects/always_true_schema_item.h
@@ -49,10 +49,20 @@ class CAlwaysTrueSchemaItem : public ISchemaItem {
**/
static utils::SharedPtr<CAlwaysTrueSchemaItem> create();
/**
+ * @deprecated
* @brief Validate smart object.
* @param Object Object to validate.
* @return NsSmartObjects::Errors::eType
**/
+ // DEPRECATED
+ Errors::eType validate(const SmartObject& Object) OVERRIDE;
+ /**
+ * @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
+ * @return NsSmartObjects::Errors::eType
+ **/
Errors::eType validate(const SmartObject& Object,
std::string& errorMessage) OVERRIDE;