Skip to content

Commit

Permalink
Restore use of {} rather than =default for clang-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhuggett committed Dec 18, 2023
1 parent 69fbb44 commit fa46d2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/peejay/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ class coord {
unsigned y_;
};

constexpr coord () noexcept = default;
// (Using '{}' rather than '=default;' here to pacify clang-8.)
constexpr coord () noexcept {}
constexpr coord (column x, line y) noexcept : line_{y}, column_{x} {}
constexpr coord (line y, column x) noexcept : line_{y}, column_{x} {}

Expand Down

0 comments on commit fa46d2c

Please sign in to comment.