[Mockpp-commits] mockpp/mockpp/examples/tutorial Calculator.h,1.2,1.3 interface.h,1.4,1.5
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-03-24 21:00:00
|
Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18581/mockpp/examples/tutorial Modified Files: Calculator.h interface.h Log Message: fixed compiler warnings Index: interface.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/interface.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- interface.h 13 Mar 2005 19:13:26 -0000 1.4 +++ interface.h 24 Mar 2005 20:59:51 -0000 1.5 @@ -40,6 +40,11 @@ { public: + /** Destroy the interface + */ + virtual ~Interface() + {} + /** Opens the file * @param name name of file to open */ Index: Calculator.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/Calculator.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Calculator.h 23 Jan 2005 21:19:05 -0000 1.2 +++ Calculator.h 24 Mar 2005 20:59:51 -0000 1.3 @@ -11,7 +11,7 @@ ***************************************************************************/ - int global_error = 0; // disturb tests +static int global_error = 0; // disturb tests /** An exception class. * @internal |