summaryrefslogtreecommitdiff
path: root/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2013-06-21 07:42:27 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2013-06-21 07:42:27 +0000
commitb83f0e3c420b73c8245a83c30f0d0628c1a8a8f6 (patch)
tree4bb144be60277697594f1fe3ecda18f8f3adab62 /ACE/tests/Intrusive_Auto_Ptr_Test.cpp
parentf1619f9fae7fc856cf2ff4a8260299f7cac7cad5 (diff)
downloadATCD-b83f0e3c420b73c8245a83c30f0d0628c1a8a8f6.tar.gz
Fri Jun 21 07:42:02 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Compiler_Features_13_Test.cpp: * tests/Intrusive_Auto_Ptr_Test.cpp: Fixed some coverity reported errors
Diffstat (limited to 'ACE/tests/Intrusive_Auto_Ptr_Test.cpp')
-rw-r--r--ACE/tests/Intrusive_Auto_Ptr_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Intrusive_Auto_Ptr_Test.cpp b/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
index 4be3c25f0ac..5f0b5fe4f09 100644
--- a/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
+++ b/ACE/tests/Intrusive_Auto_Ptr_Test.cpp
@@ -28,7 +28,7 @@ class One {
int ref;
public:
- One (int refcount): ref(refcount)
+ One (int refcount) : m2(0), ref(refcount)
{
released = false;
}