diff --git a/src/position.hpp b/src/position.hpp index 69c2154f10..295c6b2e97 100644 --- a/src/position.hpp +++ b/src/position.hpp @@ -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;