mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00: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 changed files with 5 additions and 1 deletions
|
@ -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 a new issue