commit | 01f8dba9148c6891f52de192d1ff50149c4c3afa | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sat Sep 19 21:11:45 2015 +0200 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Sat Sep 19 21:56:34 2015 +0200 |
tree | f0f0807bfb0c102285b2a601d64957702570db22 | |
parent | d2856a41eff554f63eeb4dabbfda34323437f5f5 [diff] [blame] |
Use make_unique where appropriate Change-Id: I30c9f0fb2033a810df73a1c9147fcf09d610f763 Refs: #3093
diff --git a/daemon/table/cs.cpp b/daemon/table/cs.cpp index 9ea3d8b..674d333 100644 --- a/daemon/table/cs.cpp +++ b/daemon/table/cs.cpp
@@ -47,7 +47,7 @@ unique_ptr<Policy> makeDefaultPolicy() { - return unique_ptr<Policy>(new PriorityFifoPolicy()); + return make_unique<PriorityFifoPolicy>(); } Cs::Cs(size_t nMaxPackets, unique_ptr<Policy> policy)