Skip to content

Commit

Permalink
chore: rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Oct 21, 2024
1 parent 29d0bfc commit 676182c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ll/api/io/LoggerRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bool LoggerRegistry::erase(std::string_view title) {
std::lock_guard lock{impl->mutex};
return impl->loggers.erase(title);
}
coro::Generator<Logger&> LoggerRegistry::iter() {
coro::Generator<Logger&> LoggerRegistry::loggers() {
std::lock_guard lock{impl->mutex};
for (auto& p : impl->loggers) {
auto shared = p.second.lock();
Expand Down
2 changes: 1 addition & 1 deletion src/ll/api/io/LoggerRegistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ class LoggerRegistry {

LLNDAPI bool erase(std::string_view title);

LLNDAPI coro::Generator<Logger&> iter();
LLNDAPI coro::Generator<Logger&> loggers();
};
} // namespace ll::io

0 comments on commit 676182c

Please sign in to comment.