From 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 12 Oct 2008 10:05:28 +0000 Subject: Fixed compilation warnings. --- tests/utility/smartPtrTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/utility/smartPtrTest.cpp') 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 { }; -- cgit v1.2.3