summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/default_shema_item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/default_shema_item.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/default_shema_item.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/smart_objects/include/smart_objects/default_shema_item.h b/src/components/smart_objects/include/smart_objects/default_shema_item.h
index beeeaac81f..16dbad4426 100644
--- a/src/components/smart_objects/include/smart_objects/default_shema_item.h
+++ b/src/components/smart_objects/include/smart_objects/default_shema_item.h
@@ -113,10 +113,10 @@ errors::eType CDefaultSchemaItem<Type>::validate(
const utils::SemanticVersion& MessageVersion,
const bool allow_unknown_enums) {
if (getSmartType() != Object.getType()) {
- std::string validation_info = "Incorrect type, expected: " +
- SmartObject::typeToString(getSmartType()) +
- ", got: " +
- SmartObject::typeToString(Object.getType());
+ std::string validation_info =
+ "Incorrect type, expected: " +
+ SmartObject::typeToString(getSmartType()) +
+ ", got: " + SmartObject::typeToString(Object.getType());
report__->set_validation_info(validation_info);
return errors::INVALID_VALUE;
} else {