Skip to content

Commit

Permalink
Constness
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jun 14, 2024
1 parent fa0210d commit b971031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nano/node/request_aggregator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ auto nano::request_aggregator::aggregate (nano::secure::transaction const & tran
};
}

std::unique_ptr<nano::container_info_component> nano::request_aggregator::collect_container_info (std::string const & name)
std::unique_ptr<nano::container_info_component> nano::request_aggregator::collect_container_info (std::string const & name) const
{
nano::lock_guard<nano::mutex> guard{ mutex };

Expand Down
2 changes: 1 addition & 1 deletion nano/node/request_aggregator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class request_aggregator final
std::size_t size () const;
bool empty () const;

std::unique_ptr<container_info_component> collect_container_info (std::string const &);
std::unique_ptr<container_info_component> collect_container_info (std::string const & name) const;

private:
void run ();
Expand Down

0 comments on commit b971031

Please sign in to comment.