Skip to content

Commit

Permalink
More noexcept.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Nov 15, 2023
1 parent 0bec353 commit 8a6ae17
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/tao/pegtl/internal/inputerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ namespace TAO_PEGTL_NAMESPACE::internal
: data( in_data )
{}

basic_small_position( basic_small_position&& ) = default;
basic_small_position( const basic_small_position& ) = default;
basic_small_position( basic_small_position&& ) noexcept = default;
basic_small_position( const basic_small_position& ) noexcept = default;

~basic_small_position() = default;

basic_small_position& operator=( basic_small_position&& ) = default;
basic_small_position& operator=( const basic_small_position& ) = default;
basic_small_position& operator=( basic_small_position&& ) noexcept = default;
basic_small_position& operator=( const basic_small_position& ) noexcept = default;

const T* data = nullptr;
};
Expand Down Expand Up @@ -56,13 +56,13 @@ namespace TAO_PEGTL_NAMESPACE::internal
assert( in_column != 0 );
}

large_position( large_position&& ) = default;
large_position( const large_position& ) = default;
large_position( large_position&& ) noexcept = default;
large_position( const large_position& ) noexcept = default;

~large_position() = default;

large_position& operator=( large_position&& ) = default;
large_position& operator=( const large_position& ) = default;
large_position& operator=( large_position&& ) noexcept = default;
large_position& operator=( const large_position& ) noexcept = default;

const char* data = nullptr;

Expand Down

0 comments on commit 8a6ae17

Please sign in to comment.