From: David Kastrup Date: Wed, 7 Nov 2012 17:29:00 +0000 (+0100) Subject: Issue 2954: Context_mod should not have virtual copy constructor X-Git-Tag: release/2.17.7-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1d147fb186fb3240030995add4226722632cfa14;p=lilypond.git Issue 2954: Context_mod should not have virtual copy constructor Without a virtual destructor, this is asking for trouble. It does not appear that a virtual copy constructor is actually needed for anything here. --- diff --git a/lily/include/context-mod.hh b/lily/include/context-mod.hh index 297ec4bb39..d384d73a04 100644 --- a/lily/include/context-mod.hh +++ b/lily/include/context-mod.hh @@ -42,8 +42,6 @@ public: void add_context_mod (SCM); void add_context_mods (SCM); - VIRTUAL_COPY_CONSTRUCTOR (Context_mod, Context_mod); - SCM get_mods () const; Context_mod ();