Fix copyright lines
[folly.git] / folly / io / async / EventBaseManager.h
index 1a0b0b1e77973afa904c8741987491a4249d2dc0..4db7fade6b7236abd1ebf4d0680428c5831b5392 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2014-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.
 
 #pragma once
 
+#include <list>
+#include <set>
+
 #include <folly/ThreadLocal.h>
 #include <folly/io/async/EventBase.h>
-#include <set>
-#include <list>
 
 namespace folly {
 
@@ -101,7 +102,7 @@ class EventBaseManager {
    * this moment in time.  Locks a mutex so that these EventBase set cannot
    * be changed, and also the caller can rely on no instances being destructed.
    */
-  template<typename FunctionType>
+  template <typename FunctionType>
   void withEventBaseSet(const FunctionType& runnable) {
     // grab the mutex for the caller
     std::lock_guard<std::mutex> g(*&eventBaseSetMutex_);
@@ -157,4 +158,4 @@ class EventBaseManager {
   std::shared_ptr<folly::EventBaseObserver> observer_;
 };
 
-} // folly
+} // namespace folly