Skip to content

Commit

Permalink
Fix issue on gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Nov 16, 2023
1 parent f9baa55 commit 04a32a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/LuaBridge/detail/Result.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ struct TypeResult
{
}

TypeResult(const TypeResult&) noexcept(std::is_nothrow_copy_constructible_v<T>) = default;
TypeResult(TypeResult&&) noexcept(std::is_nothrow_move_constructible_v<T>) = default;
TypeResult& operator=(const TypeResult&) noexcept(std::is_nothrow_copy_assignable_v<T>) = default;
TypeResult& operator=(TypeResult&&) noexcept(std::is_nothrow_move_assignable_v<T>) = default;
TypeResult(const TypeResult&) = default;
TypeResult(TypeResult&&) = default;
TypeResult& operator=(const TypeResult&) = default;
TypeResult& operator=(TypeResult&&) = default;

explicit operator bool() const noexcept
{
Expand Down

0 comments on commit 04a32a8

Please sign in to comment.