]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performance-scheme.cc
Merge branch 'master' into translation
[lilypond.git] / lily / performance-scheme.cc
index e1c31a41465b1acdbbe262e8326a329661be81ca..9ab087a2c3bf22e14682c59d46481a6cf0e442b6 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2015 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
@@ -26,7 +26,7 @@ LY_DEFINE (ly_performance_write, "ly:performance-write",
   LY_ASSERT_SMOB (Performance, performance, 1);
   LY_ASSERT_TYPE (scm_is_string, filename, 2);
 
-  Performance::unsmob (performance)->write_output (ly_scm2string (filename));
+  unsmob<Performance> (performance)->write_output (ly_scm2string (filename));
   return SCM_UNSPECIFIED;
 }