Am Freitag, 22. September 2006 11:49 schrieb Abdelrazak Younes:
> Abdelrazak Younes wrote:
> >> 2) I just commit and continue my cleanup work. This includes:
> > 
> > If there's no objection then I will proceed to 2) at the end of the 
day.
> 
> Done.

My compiler tells me that you forgot something:

../../../src/mathed/../frontends/Application.h:42: warning: 'class 
lyx::frontend::Application' has virtual functions but non-virtual 
destructor

If you did not forget it by accident but don't know why it is needed please 
havwe a look at Scott Meyers book Effective C++: 
http://www.aristeia.com/books_frames.html.

This is going in now.


Georg
Index: src/frontends/Application.h
===================================================================
--- src/frontends/Application.h	(Revision 15125)
+++ src/frontends/Application.h	(Arbeitskopie)
@@ -41,7 +41,10 @@ comon to all frontends.
 class Application
 {
 public:
+	///
 	Application(int & argc, char ** argv);
+	///
+	virtual ~Application() {}
 
 	int start(std::string const & batch);
 	///

Reply via email to