Skip to content

Commit

Permalink
FIX initialize variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Jan 26, 2024
1 parent 6cd1fd7 commit 340b4ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/apiTypesV2/Subscription.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ struct Subject
*
* Subscription -
*/
struct Subscription
class Subscription
{
public:
std::string id;
std::string description;
bool descriptionProvided;
Expand All @@ -164,6 +165,10 @@ struct Subscription
std::string toJson();
void release();

Subscription():
attrsFormat(NGSI_V2_NORMALIZED)
{}

~Subscription();
};

Expand Down

0 comments on commit 340b4ee

Please sign in to comment.