Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxwa committed Mar 29, 2024
1 parent 29fc805 commit 5c31dbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void relocate_dispatcher(char* self, char* rhs) noexcept(NE) {
std::destroy_at(reinterpret_cast<P*>(rhs));
}
template <class P, bool NE>
static void destroy_dispatcher(char* self) noexcept(NE)
void destroy_dispatcher(char* self) noexcept(NE)
{ std::destroy_at(reinterpret_cast<P*>(self)); }

template <class O> struct overload_traits : inapplicable_traits {};
Expand Down Expand Up @@ -238,7 +238,7 @@ struct dispatcher_meta {
bool has_value() const noexcept { return dispatcher != nullptr; }
void reset() noexcept { dispatcher = nullptr; }

decltype(MP::template get<void>()) dispatcher;
typename MP::dispatcher_type dispatcher;
};

template <class... Ms>
Expand Down

0 comments on commit 5c31dbb

Please sign in to comment.