]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-function.cc
Fix namespace issue with clang.
[lilypond.git] / lily / music-function.cc
index 85b21575761961e209a76811fae4506297940463..65fedab7ddd70380457a9fa1304176589749eb69 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2004--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 #include "music.hh"
 #include "ly-smobs.icc"
 
-class Musicfunction {
+class Musicfunction
+{
   DECLARE_SIMPLE_SMOBS (Musicfunction);
   SCM signature_;
   SCM function_;
 public:
   Musicfunction (SCM signature, SCM function):
-    signature_(signature), function_(function) { }
+    signature_ (signature), function_ (function) { }
   SCM get_function () { return function_; }
   SCM get_signature () { return signature_; }
 };
@@ -83,6 +84,6 @@ Musicfunction::mark_smob (SCM s)
 {
   Musicfunction *p = Musicfunction::unsmob (s);
   scm_gc_mark (p->signature_);
-  ASSERT_LIVE_IS_ALLOWED ();
+  ASSERT_LIVE_IS_ALLOWED (s);
   return p->function_;
 }