mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 08:13:08 +08:00
Clean up enum_set.h header
Include a missing array header, and switch to idiomatic include guards.
This commit is contained in:
parent
e084d097d5
commit
9bc5d60eaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user