Skip to content

Commit

Permalink
rocket/variant: Get rid of old c++11 tricks
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Oct 22, 2023
1 parent 9802792 commit 62b980d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocket/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ class variant
size_t
index() const noexcept
{
return ROCKET_ASSERT(this->m_index < alternative_size),
this->m_index;
ROCKET_ASSERT(this->m_index < alternative_size);
return this->m_index;
}

const type_info&
Expand Down

0 comments on commit 62b980d

Please sign in to comment.