Skip to content

Commit cfea26a

Browse files
Minor fixes
Signed-off-by: Christian Parpart <christian@parpart.family>
1 parent 7ac7b31 commit cfea26a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/reflection-cpp/Reflection.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ inline constexpr decltype(auto) ToTuple(T&& t) noexcept
194194
}
195195

196196
template <class T>
197-
struct WrappedPoinnter final
197+
struct WrappedPointer final
198198
{
199199
const T* ptr;
200200
};
@@ -203,7 +203,7 @@ template <size_t N, class T>
203203
constexpr auto GetElementPtrAt(T&& t) noexcept
204204
{
205205
auto& p = get<N>(ToTuple(t));
206-
return WrappedPoinnter<std::remove_cvref_t<decltype(p)>> { &p };
206+
return WrappedPointer<std::remove_cvref_t<decltype(p)>> { &p };
207207
}
208208

209209
namespace detail

test-reflection-cpp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <catch2/catch_test_macros.hpp>
55

6-
#include <iostream>
76
#include <string>
87
#include <string_view>
98

0 commit comments

Comments
 (0)