misc
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
d85190b113
commit
c43436d970
|
@ -356,6 +356,11 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual ~Entity();
|
virtual ~Entity();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Returns the JSON object of the Entity
|
||||||
|
*
|
||||||
|
* @since 0.100.0
|
||||||
|
*/
|
||||||
operator const Json::Value() const;
|
operator const Json::Value() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -39,7 +39,8 @@ Easy::Entity::Entity(const Json::Value &object)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Easy::Entity::Entity()
|
Easy::Entity::Entity()
|
||||||
: _was_set(false)
|
: _tree(Json::nullValue)
|
||||||
|
, _was_set(false)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Easy::Entity::~Entity()
|
Easy::Entity::~Entity()
|
||||||
|
|
|
@ -155,7 +155,7 @@ const return_entity_vector Easy::get_notifications(const uint16_t limit,
|
||||||
|
|
||||||
// Transform vector of strings to vector of Notification.
|
// Transform vector of strings to vector of Notification.
|
||||||
std::transform(answer_v.begin(), answer_v.end(), notifications.begin(),
|
std::transform(answer_v.begin(), answer_v.end(), notifications.begin(),
|
||||||
[](const string s)
|
[](const string &s)
|
||||||
{ return GenericEntity(s); });
|
{ return GenericEntity(s); });
|
||||||
|
|
||||||
return { ret.error_code, ret.error_message, notifications };
|
return { ret.error_code, ret.error_message, notifications };
|
||||||
|
|
Reference in New Issue