]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/skyline-pair.cc
Revert "Issue 4550 (1/2) Avoid "using namespace std;" in included files"
[lilypond.git] / lily / skyline-pair.cc
index 75f77fd5b245b0193bf2e6e386a1116391c1b6b7..b3c2b96df4ad9d4e34eb4641a8eef63a91a58db8 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2008--2014 Han-Wen Nienhuys <hanwen@lilypond.org>
+  Copyright (C) 2008--2015 Han-Wen Nienhuys <hanwen@lilypond.org>
 
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -127,7 +127,7 @@ MAKE_SCHEME_CALLBACK (Skyline_pair, skyline, 2);
 SCM
 Skyline_pair::skyline (SCM smob, SCM dir_scm)
 {
-  Skyline_pair *sp = Skyline_pair::unsmob (smob);
+  Skyline_pair *sp = unsmob<Skyline_pair> (smob);
   Direction dir = robust_scm2dir (dir_scm, UP);
 
   if (dir == CENTER)