Skip to content

Commit

Permalink
add #include <cassert> for the assert() macro
Browse files Browse the repository at this point in the history
  • Loading branch information
i80287 authored and yosh-matsuda committed Jul 2, 2024
1 parent 25b6aa7 commit 60a92a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/field_reflection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#pragma once

#include <cassert>
#include <climits> // CHAR_BIT
#include <limits>
#include <source_location>
Expand Down Expand Up @@ -582,7 +583,7 @@ namespace field_reflection
static wrapper<T> fake; // NOLINT
};

template <typename T, size_t N> // NOLINT
template <typename T, std::size_t N> // NOLINT
consteval auto get_ptr() noexcept
{
#if defined(__clang__)
Expand Down

0 comments on commit 60a92a8

Please sign in to comment.