From 9bc5d60eaf12284bdd30d1fd005a80bd4befc1a2 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 26 Apr 2019 16:08:19 -0700 Subject: [PATCH] Clean up enum_set.h header Include a missing array header, and switch to idiomatic include guards. --- src/enum_set.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/enum_set.h b/src/enum_set.h index a8b9b229b..c0217479d 100644 --- a/src/enum_set.h +++ b/src/enum_set.h @@ -1,5 +1,7 @@ -#pragma once +#ifndef FISH_ENUM_SET_H +#define FISH_ENUM_SET_H +#include #include #include #include @@ -136,3 +138,5 @@ class enum_iter_t { iterator_t begin() const { return iterator_t{0}; } iterator_t end() const { return iterator_t{static_cast(enum_count())}; } }; + +#endif