diff options
author | Vincent Richard <[email protected]> | 2005-07-24 11:39:24 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-07-24 11:39:24 +0000 |
commit | 207efb83b1d2866be9d6c9771d2fcaeb27e73eb0 (patch) | |
tree | 664acede9d56fb160f3a5c7c237edcab94bc0749 /tests/utility/smartPtrTest.cpp | |
parent | Fixed getMessages(). (diff) | |
download | vmime-207efb83b1d2866be9d6c9771d2fcaeb27e73eb0.tar.gz vmime-207efb83b1d2866be9d6c9771d2fcaeb27e73eb0.zip |
Removed implicit conversion to T* for smart pointers.
Diffstat (limited to 'tests/utility/smartPtrTest.cpp')
-rw-r--r-- | tests/utility/smartPtrTest.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/utility/smartPtrTest.cpp b/tests/utility/smartPtrTest.cpp index 44b634a6..9a7eb539 100644 --- a/tests/utility/smartPtrTest.cpp +++ b/tests/utility/smartPtrTest.cpp @@ -70,9 +70,6 @@ namespace assert_true("6", r1 == vmime::null); assert_true("7", vmime::null == r1); assert_eq("8", static_cast <A*>(0), r1.get()); - - const A* p = r1; - assert_eq("9", static_cast <A*>(0), p); } void testRefCounting() |