diff options
Diffstat (limited to 'adb/fdevent_test.cpp')
-rw-r--r-- | adb/fdevent_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/fdevent_test.cpp b/adb/fdevent_test.cpp index 63cc4d176..dadae5ab7 100644 --- a/adb/fdevent_test.cpp +++ b/adb/fdevent_test.cpp @@ -99,7 +99,7 @@ static void FdEventThreadFunc(ThreadArg* arg) { std::vector<std::unique_ptr<FdHandler>> fd_handlers; for (size_t i = 0; i < read_fds.size(); ++i) { - fd_handlers.push_back(std::unique_ptr<FdHandler>(new FdHandler(read_fds[i], write_fds[i]))); + fd_handlers.push_back(std::make_unique<FdHandler>(read_fds[i], write_fds[i])); } fdevent_loop(); |