From 1bf6738cb5539e9e084015902ce98397a4649532 Mon Sep 17 00:00:00 2001 From: rucadi Date: Wed, 15 May 2024 18:51:43 +0200 Subject: [PATCH] Add utils include guard --- ultramodern/utils.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ultramodern/utils.hpp b/ultramodern/utils.hpp index d921b68..e61e45f 100644 --- a/ultramodern/utils.hpp +++ b/ultramodern/utils.hpp @@ -1,3 +1,6 @@ +#ifndef __utils_HPP__ +#define __utils_HPP__ + #include template @@ -9,4 +12,6 @@ struct overloaded : Ts... template auto match(const T& event, Ts&&... args){ return std::visit(overloaded{std::forward(args)...}, event); -} \ No newline at end of file +} + +#endif