Fix copyright lines
[folly.git] / folly / io / async / test / ScopedBoundPort.cpp
index 9db7e54e183382cba6b2b9328d4cb5f30c08f52d..62873dca04ba2ab0e11d0b81c3f39e129c7ca959 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -23,7 +23,7 @@
 namespace folly {
 
 ScopedBoundPort::ScopedBoundPort(IPAddress host) {
-  ebth_ = folly::make_unique<ScopedEventBaseThread>();
+  ebth_ = std::make_unique<ScopedEventBaseThread>();
   ebth_->getEventBase()->runInEventBaseThreadAndWait([&] {
     sock_ = AsyncServerSocket::newSocket(ebth_->getEventBase());
     sock_->bind(SocketAddress(host, 0));
@@ -37,4 +37,4 @@ ScopedBoundPort::~ScopedBoundPort() {
 SocketAddress ScopedBoundPort::getAddress() const {
   return sock_->getAddress();
 }
-}
+} // namespace folly