Doesn't build yet. But did more work to align the older fork with newer APIs.

This commit is contained in:
kidfromjupiter
2025-12-29 13:35:08 +00:00
parent 5f93c46954
commit 6c41d26a86
52 changed files with 279 additions and 289 deletions
@@ -35,7 +35,7 @@ ScheduledExecutor::ScheduledExecutor()
std::shared_ptr<api::Cancelable> ScheduledExecutor::Schedule(
Runnable &&runnable, absl::Duration duration) {
if (shut_down_) {
NEARBY_LOGS(ERROR) << __func__
LOG(ERROR) << __func__
<< ": Attempt to Schedule on a shut down executor.";
return nullptr;
@@ -58,7 +58,7 @@ std::shared_ptr<api::Cancelable> ScheduledExecutor::Schedule(
void ScheduledExecutor::Execute(Runnable &&runnable) {
if (shut_down_) {
NEARBY_LOGS(ERROR) << __func__
LOG(ERROR) << __func__
<< ": Attempt to Execute on a shut down executor.";
return;
}
@@ -77,7 +77,7 @@ void ScheduledExecutor::Shutdown() {
executor_->Shutdown();
return;
}
NEARBY_LOGS(ERROR) << __func__
LOG(ERROR) << __func__
<< ": Attempt to Shutdown on a shut down executor.";
}
} // namespace linux