Update of /cvsroot/mockpp/mockpp/mockpp/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6085/mockpp/tests
Modified Files:
VisitableMockMethod_test.cpp
Log Message:
fixes for bcb5
Index: VisitableMockMethod_test.cpp
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/VisitableMockMethod_test.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- VisitableMockMethod_test.cpp 15 Nov 2005 19:19:48 -0000 1.14
+++ VisitableMockMethod_test.cpp 19 Nov 2005 14:16:38 -0000 1.15
@@ -159,7 +159,14 @@
: mockpp::VisitableMockMethodBase(name, parent)
{}
+#if defined(__BORLANDC__) // ==> BCB5.5.1 ?? F1004 Internal compiler error at 0x12548c1 with base 0x1200000
+ void throwAvailableException() const
+ {
+ mockpp::VisitableMockMethodBase::throwAvailableException();
+ }
+#else
using mockpp::VisitableMockMethodBase::throwAvailableException;
+#endif
};
@@ -234,8 +241,20 @@
: mockpp::VisitableMockReturningMethodBase<T>(name, parent)
{}
+#if defined(__BORLANDC__) // ==> BCB5.5.1 ?? F1004 Internal compiler error at 0x12548c1 with base 0x1200000
+ void throwAvailableException() const
+ {
+ mockpp::VisitableMockReturningMethodBase<T>::throwAvailableException();
+ }
+
+ T determineReturnValue() const
+ {
+ return mockpp::VisitableMockReturningMethodBase<T>::determineReturnValue();
+ }
+#else
using mockpp::VisitableMockReturningMethodBase<T>::throwAvailableException;
using mockpp::VisitableMockReturningMethodBase<T>::determineReturnValue;
+#endif
};
|