Skip to content

Commit

Permalink
Add include guards to enhanced_enum.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
jasujm committed Dec 8, 2019
1 parent d453d64 commit 3db9a76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Unreleased
Added
- Add :cpp:func:`enhanced_enum::enum_base::ssize()`

Fixed
- Add include guards to the C++ headers

Version 0.1
-----------

Expand Down
5 changes: 5 additions & 0 deletions cxx/include/enhanced_enum/enhanced_enum.hh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#include <optional>
#include <type_traits>

#ifndef ENHANCED_ENUM_HH_INCLUDED_
#define ENHANCED_ENUM_HH_INCLUDED_

/** \brief The main namespace for the Enhanced Enum library
*/
namespace enhanced_enum {
Expand Down Expand Up @@ -395,3 +398,5 @@ constexpr bool operator>=(Enum1 lhs, Enum2 rhs) noexcept
// \endcond

}

#endif // ENHANCED_ENUM_HH_INCLUDED_

0 comments on commit 3db9a76

Please sign in to comment.