Skip to content

Commit

Permalink
Support old Clang versions
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti committed Jan 28, 2025
1 parent 514001a commit 5e2da5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/json/include/sourcemeta/core/json_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ template <typename Key, typename Value, typename Hash> class JSONObject {
inline auto size() const -> std::size_t { return this->data.size(); }

/// Access an object entry by its underlying positional index
inline auto at(const size_type index) const noexcept
-> const Container::Entry & {
inline auto at(const size_type index) const noexcept -> const
typename Container::Entry & {
return this->data.at(index);
}

Expand Down

0 comments on commit 5e2da5c

Please sign in to comment.