From 0ce02ea77fa2068b5a925989c447d946a7061c33 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 20 Oct 2021 13:21:35 +0200 Subject: [PATCH] Remove a useless semicolon in ParseComponents.hpp --- src/headers/parsing/ParseComponents.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/ParseComponents.hpp b/src/headers/parsing/ParseComponents.hpp index 6dba57e..2a43270 100644 --- a/src/headers/parsing/ParseComponents.hpp +++ b/src/headers/parsing/ParseComponents.hpp @@ -92,7 +92,7 @@ public: IS(StandardComponents::NamedIdentifier) inline auto operator[](const string& key) const { return findReferenceByName(key); } inline size_t getCompCount() const { return subComponents.size(); } - IS_PARSECOMPONENT inline void add(const T& component) { addComponent(component); }; + IS_PARSECOMPONENT inline void add(const T& component) { addComponent(component); } IS_PARSECOMPONENT inline void addAll(const initializer_list& components) { addAllComponents(components); } IS_PARSECOMPONENT inline ParseTree& operator<<(const T& component) { add(component); return *this; } ParseTree(): subComponents() {};