/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2016-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
"addWithPriority() is not implemented for this Executor");
}
-void Executor::keepAliveRelease() {
- LOG(FATAL) << "keepAliveRelease() should not be called for folly::Executors "
- << "which do not implement getKeepAliveToken()";
+void Executor::keepAliveAcquire() {
+ LOG(FATAL) << __func__ << "() should not be called for folly::Executor types "
+ << "which do not override getKeepAliveToken()";
}
+
+void Executor::keepAliveRelease() {
+ LOG(FATAL) << __func__ << "() should not be called for folly::Executor types "
+ << "which do not override getKeepAliveToken()";
}
+} // namespace folly