mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Clean up enum_set.h header
Include a missing array header, and switch to idiomatic include guards.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
#ifndef FISH_ENUM_SET_H
|
||||
#define FISH_ENUM_SET_H
|
||||
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
@@ -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<base_type_t>(enum_count<T>())}; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user