aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utility/smartPtrTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
committerVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
commit3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch)
tree1968196db0d6ae27fd70d0732ff3defed0efb61f /tests/utility/smartPtrTest.cpp
parentEncode '?' characters to avoid breaking QP encoding (Zarafa). (diff)
downloadvmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz
vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip
Fixed compilation warnings.
Diffstat (limited to 'tests/utility/smartPtrTest.cpp')
-rw-r--r--tests/utility/smartPtrTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utility/smartPtrTest.cpp b/tests/utility/smartPtrTest.cpp
index 68e5ff04..ce0b941f 100644
--- a/tests/utility/smartPtrTest.cpp
+++ b/tests/utility/smartPtrTest.cpp
@@ -44,8 +44,8 @@ VMIME_TEST_SUITE_BEGIN
struct A : public vmime::object
{
- const int strongCount() const { return getRefManager()->getStrongRefCount(); }
- const int weakCount() const { return getRefManager()->getWeakRefCount(); }
+ int strongCount() const { return getRefManager()->getStrongRefCount(); }
+ int weakCount() const { return getRefManager()->getWeakRefCount(); }
};
struct B : public virtual A { };