summaryrefslogtreecommitdiff
path: root/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-08-11 11:35:01 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-08-11 11:35:01 +0200
commit6ef233f574afae7756d7e00fcfc2dc726003dd60 (patch)
treee78ce9574d4282415b4e628f50127690beb7fdbc /ACE/tests/Intrusive_Auto_Ptr_Test.cpp
parent881df13c63134b837bd8f488a1758e14bf8ebcde (diff)
downloadATCD-6ef233f574afae7756d7e00fcfc2dc726003dd60.tar.gz
Removed various variables/members which are not used at all
* ACE/tests/Bound_Ptr_Test.cpp: * ACE/tests/Bound_Ptr_Test.h: * ACE/tests/Intrusive_Auto_Ptr_Test.cpp: * ACE/tests/Multicast_Test.cpp: * ACE/tests/Multicast_Test_IPV6.cpp: * ACE/tests/Object_Manager_Flipping_Test.cpp: * ACE/tests/Refcounted_Auto_Ptr_Test.cpp: * ACE/tests/Sendfile_Test.cpp: * ACE/tests/Thread_Attrs_Test.cpp: * ACE/tests/Thread_Creation_Threshold_Test.cpp:
Diffstat (limited to 'ACE/tests/Intrusive_Auto_Ptr_Test.cpp')
-rw-r--r--ACE/tests/Intrusive_Auto_Ptr_Test.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ACE/tests/Intrusive_Auto_Ptr_Test.cpp b/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
index ae363730966..fca362e4b45 100644
--- a/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
+++ b/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
@@ -15,17 +15,13 @@
#include "ace/Intrusive_Auto_Ptr.h"
#include "ace/Thread_Manager.h"
-
-
class One {
-
static bool released;
- int m2;
int ref;
public:
- One (int refcount) : m2(0), ref(refcount)
+ One (int refcount) : ref(refcount)
{
released = false;
}