Skip to content

Commit

Permalink
Consistent const
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Sep 21, 2023
1 parent a232131 commit 7a15324
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/blob_route.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace homeobject {
struct BlobRoute {
shard_id shard;
blob_id blob;
bool operator==(const BlobRoute&) const = default;
bool operator<(const BlobRoute&) const = default;
bool operator==(BlobRoute const&) const = default;
bool operator<(BlobRoute const&) const = default;
};

} // namespace homeobject
Expand All @@ -25,7 +25,7 @@ struct formatter< homeobject::BlobRoute > {
}

template < typename FormatContext >
auto format(const homeobject::BlobRoute& r, FormatContext& ctx) {
auto format(homeobject::BlobRoute const& r, FormatContext& ctx) {
return format_to(ctx.out(), "{}:{:012x}", r.shard, r.blob);
}
};
Expand Down

0 comments on commit 7a15324

Please sign in to comment.