diff options
author | Dan Eble <nine.fierce.ballads@gmail.com> | 2015-08-07 20:21:50 -0400 |
---|---|---|
committer | Dan Eble <nine.fierce.ballads@gmail.com> | 2015-08-14 17:21:18 -0400 |
commit | 8920247a80a350aaab540166ab7a4937f45786a6 (patch) | |
tree | 1ea891c36a9919cd01538b5113d608179ee40717 /lily/enclosing-bracket.cc | |
parent | e14a171e46de06072e82513b62632bbeaa987a26 (diff) |
Issue 4541 (2/2) Clean up...
* Use has_interface<Interface> (grob)
* Remove DECLARE_GROB_INTERFACE()
Edits to grob-interface.hh are manual and the rest is the result of
the following script.
for FILE in $(git grep -lw DECLARE_GROB_INTERFACE lily)
do
sed -i "/^ *DECLARE_GROB_INTERFACE ();.*$/d" $FILE
done
for FILE in $(git grep -lw "has_interface" lily)
do
if [ $FILE == lily/include/grob-interface.hh ] ; then continue ; fi
sed -i "s/\\([_a-zA-Z]\\+\\)::has_interface\\>/has_interface<\\1>/g
s/\\([_a-zA-Z]\\+\\) && has_interface<\\([_a-zA-Z]\\+\\)> (\\1)/has_interface<\\2> (\\1)/g" $FILE
done
Diffstat (limited to 'lily/enclosing-bracket.cc')
-rw-r--r-- | lily/enclosing-bracket.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lily/enclosing-bracket.cc b/lily/enclosing-bracket.cc index 57593649d3..dd551e3841 100644 --- a/lily/enclosing-bracket.cc +++ b/lily/enclosing-bracket.cc @@ -26,7 +26,6 @@ struct Enclosing_bracket { - DECLARE_GROB_INTERFACE (); public: DECLARE_SCHEME_CALLBACK (print, (SCM)); |