non-throwing, non-allocating exception_wrapper
[folly.git] / folly / fibers / FiberManagerMap.cpp
index 021a5676ea6fa56750535667bf0bcaa4fb0b80aa..5e2eebca55c8d73ae232e9ad2a2f785a50c7f631 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ class GlobalCache {
     auto& fmPtrRef = map_[&evb];
 
     if (!fmPtrRef) {
-      auto loopController = make_unique<EventBaseLoopControllerT<EventBaseT>>();
+      auto loopController = make_unique<EventBaseLoopController>();
       loopController->attachEventBase(evb);
       evb.runOnDestruction(new EventBaseOnDestructionCallback<EventBaseT>(evb));