Skip to content

Commit

Permalink
extend noexcept to position_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jeizenga committed Jun 13, 2024
1 parent 57b1349 commit 4739c56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/position.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ using namespace std;
// to refactor -- can always eliminate later
class position_t {
public:
position_t() = default;
position_t(const position_t&) = default;
position_t(position_t&&) = default;
position_t() noexcept = default;
position_t(const position_t&) noexcept = default;
position_t(position_t&&) noexcept = default;
~position_t() = default;
position_t& operator=(const position_t&) = default;
position_t& operator=(position_t&&) = default;
position_t& operator=(const position_t&) noexcept = default;
position_t& operator=(position_t&&) noexcept = default;
inline int64_t node_id() const;
inline void set_node_id(int64_t i);
inline int64_t offset() const;
Expand Down

0 comments on commit 4739c56

Please sign in to comment.