X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fio%2Fasync%2FEventBaseManager.h;h=4db7fade6b7236abd1ebf4d0680428c5831b5392;hb=cd1bdc912603c0358ba733d379a74ae90ab3a437;hp=cfcafd838923e955d8986e8c85d6b32bf0129c12;hpb=520e20a8baebc98a5ec84d67865da4cf9819f88a;p=folly.git diff --git a/folly/io/async/EventBaseManager.h b/folly/io/async/EventBaseManager.h index cfcafd83..4db7fade 100644 --- a/folly/io/async/EventBaseManager.h +++ b/folly/io/async/EventBaseManager.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 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. @@ -102,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 + template void withEventBaseSet(const FunctionType& runnable) { // grab the mutex for the caller std::lock_guard g(*&eventBaseSetMutex_); @@ -158,4 +158,4 @@ class EventBaseManager { std::shared_ptr observer_; }; -} // folly +} // namespace folly