From 829e53080c8e29a88069fd806604b8ba4516518d Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Thu, 1 Apr 2021 19:22:18 +0200 Subject: [PATCH] Add a default constructor to a struct in StandardComponents.hpp. --- src/headers/parsing/StandardComponents.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/headers/parsing/StandardComponents.hpp b/src/headers/parsing/StandardComponents.hpp index e26830d..30e18c0 100644 --- a/src/headers/parsing/StandardComponents.hpp +++ b/src/headers/parsing/StandardComponents.hpp @@ -7,6 +7,7 @@ namespace StdComponents { struct String: public ParseComponent { string content; explicit String(const string& str) { content = str; } + String() = default; }; } }