mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Doesn't build yet. But did more work to align the older fork with newer APIs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user