From 10a70387ac4b33199ad68c87ba905937c405604b Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 12 Jan 2007 21:10:00 +0000 Subject: CarpetLib: Make some routines and destructores non-virtual Make some routines and destructores non-virtual. They belong to classes which used to form a type hierarchy but are now flat. darcs-hash:20070112211017-dae7b-cffc83b94bf43c3b8665f6115021827e9d61717a.gz --- Carpet/CarpetLib/src/dh.hh | 4 ++-- Carpet/CarpetLib/src/gh.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Carpet') diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh index 95d2e9746..bddc4360b 100644 --- a/Carpet/CarpetLib/src/dh.hh +++ b/Carpet/CarpetLib/src/dh.hh @@ -133,7 +133,7 @@ public: const ivect& lbuffers, const ivect& ubuffers); // Destructors - virtual ~dh (); + ~dh (); // Helpers int prolongation_stencil_size () const; @@ -147,7 +147,7 @@ public: void remove (ggf* f); // Output - virtual void output (ostream& os) const; + void output (ostream& os) const; }; diff --git a/Carpet/CarpetLib/src/gh.hh b/Carpet/CarpetLib/src/gh.hh index cc9d148f2..f97e15ef7 100644 --- a/Carpet/CarpetLib/src/gh.hh +++ b/Carpet/CarpetLib/src/gh.hh @@ -68,7 +68,7 @@ public: const ibbox baseextent); // Destructors - virtual ~gh (); + ~gh (); // Modifiers void regrid (mregs const & regs); @@ -142,7 +142,7 @@ public: void remove (dh* d); // Output - virtual ostream& output (ostream& os) const; + ostream& output (ostream& os) const; private: void check_multigrid_consistency (); -- cgit v1.2.3