diff --git a/src/neo/query.test.cpp b/src/neo/query.test.cpp index 69b7156..1b8e442 100644 --- a/src/neo/query.test.cpp +++ b/src/neo/query.test.cpp @@ -1,4 +1,6 @@ #include "./query.hpp" + +#include #include struct get_allocator : neo::query_interface { diff --git a/src/neo/repr.hpp b/src/neo/repr.hpp index 72731f7..61f695c 100644 --- a/src/neo/repr.hpp +++ b/src/neo/repr.hpp @@ -394,7 +394,7 @@ struct repr_builtin { /// repr()'d, includes the repr() of the pointed-to value template struct repr_builtin { - constexpr static void write(auto out, auto* value) noexcept { + constexpr static void write(auto out, auto* value [[maybe_unused]]) noexcept { if constexpr (neo_is_void(T)) { // Special case for void* if constexpr (out.just_type) { @@ -473,7 +473,7 @@ struct repr_builtin { template requires(not neo_is_pointer(Integral) && weak_same_as>) // struct repr_builtin { - constexpr static void write(auto out, auto* value) noexcept { + constexpr static void write(auto out, auto* value [[maybe_unused]]) noexcept { if constexpr (weak_same_as) { if constexpr (out.just_type) { out.append("bool");