Skip to content

Commit

Permalink
Make mpl::Value::operator bool explicit(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
braxtons12 committed Mar 16, 2024
1 parent 9c0c773 commit 3153085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/hyperion/mpl/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace hyperion::mpl {
/// - `TType` must not be `bool`
///
/// @return the `value` of this specialization of `Value`, converted to `bool`
[[nodiscard]] explicit constexpr operator bool() const noexcept
[[nodiscard]] constexpr operator bool() const noexcept
requires std::convertible_to<TType, bool> && (!std::same_as<TType, bool>)
{
return value;
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@diagnostic disable: undefined-global,undefined-field
set_project("hyperion_mpl")
set_version("0.8.1")
set_version("0.8.2")

set_xmakever("2.8.7")

Expand Down

0 comments on commit 3153085

Please sign in to comment.