diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-01-30 12:11:34 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-01-30 15:23:44 +0100 |
commit | e5145b878f9de35676085409878a66899d2ee4f2 (patch) | |
tree | 177f77810901921ee03d1d3b850600c5f2cd1ef9 /libtransport/src/hicn/transport/utils/object_pool.h | |
parent | 30061551cd39c9f30280bfa0cf3cc909f4fac015 (diff) |
[HICN-18] first commit of libtransport for windows
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/utils/object_pool.h')
-rw-r--r--[-rwxr-xr-x] | libtransport/src/hicn/transport/utils/object_pool.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libtransport/src/hicn/transport/utils/object_pool.h b/libtransport/src/hicn/transport/utils/object_pool.h index c369f7e12..9fda214cd 100755..100644 --- a/libtransport/src/hicn/transport/utils/object_pool.h +++ b/libtransport/src/hicn/transport/utils/object_pool.h @@ -47,9 +47,7 @@ class ObjectPool { ObjectPool() : destructor_(false) {} - ~ObjectPool() { - destructor_ = true; - } + ~ObjectPool() { destructor_ = true; } std::pair<bool, Ptr> get() { if (object_pool_.empty()) { |