summaryrefslogtreecommitdiffstats
path: root/ceee/ie/broker
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/ie/broker')
-rw-r--r--ceee/ie/broker/executors_manager.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ceee/ie/broker/executors_manager.h b/ceee/ie/broker/executors_manager.h
index 3b9ac3b..cba7b3f 100644
--- a/ceee/ie/broker/executors_manager.h
+++ b/ceee/ie/broker/executors_manager.h
@@ -90,14 +90,10 @@ class ExecutorsManager {
// Traits for Singleton<ExecutorsManager> so that we can pass an argument
// to the constructor.
- struct SingletonTraits {
+ struct SingletonTraits : public DefaultSingletonTraits<ExecutorsManager> {
static ExecutorsManager* New() {
return new ExecutorsManager(false); // By default, we want a thread.
}
- static void Delete(ExecutorsManager* x) {
- delete x;
- }
- static const bool kRegisterAtExit = true;
};
protected: