projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1429773
)
Issue 2954: Context_mod should not have virtual copy constructor
author
David Kastrup
<dak@gnu.org>
Wed, 7 Nov 2012 17:29:00 +0000
(18:29 +0100)
committer
David Kastrup
<dak@gnu.org>
Mon, 12 Nov 2012 09:09:59 +0000
(10:09 +0100)
Without a virtual destructor, this is asking for trouble. It does not
appear that a virtual copy constructor is actually needed for anything
here.
lily/include/context-mod.hh
patch
|
blob
|
history
diff --git
a/lily/include/context-mod.hh
b/lily/include/context-mod.hh
index 297ec4bb39822beec2d2020c804ac5e1bb4f93b9..d384d73a0481d2563700014974912d3817db0e37 100644
(file)
--- 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 ();