Re: [m5-dev] build failure in head

2009-01-25 Thread nathan binkert
If a class has *any* virtual functions, it should have a virtual destructor because the assumption is that you will use the class polymorphically and you might delete the class with a pointer to the base class. Nate On Sun, Jan 25, 2009 at 7:52 PM, Ali Saidi sa...@umich.edu wrote: Gabe, I

Re: [m5-dev] build failure in head

2009-01-25 Thread Gabe Black
I'll just make the destructor virtual then. I can't imagine that would break anything. Gabe nathan binkert wrote: If a class has *any* virtual functions, it should have a virtual destructor because the assumption is that you will use the class polymorphically and you might delete the class