X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-marker.cc;h=af62bdc95e27409ce44c14eea4bd4740ffe5f956;hb=ef9512388b15e1e5e2b3592299ffe489ac43abb4;hp=78b1b2cefe59cd0113398367213458b866d126e3;hpb=a787177cc3613b03361c6ef50547455922d0b86b;p=lilypond.git diff --git a/lily/page-marker.cc b/lily/page-marker.cc index 78b1b2cefe..af62bdc95e 100644 --- a/lily/page-marker.cc +++ b/lily/page-marker.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2014 Nicolas Sceaux + Copyright (C) 2007--2015 Nicolas Sceaux LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ Page_marker::Page_marker () } Page_marker::Page_marker (Page_marker const &src) + : Smob () { symbol_ = src.symbol_; permission_ = src.permission_; @@ -39,10 +40,10 @@ Page_marker::~Page_marker () { } -const char Page_marker::type_p_name_[] = "ly:page-marker?"; +const char * const Page_marker::type_p_name_ = "ly:page-marker?"; SCM -Page_marker::mark_smob () +Page_marker::mark_smob () const { scm_gc_mark (symbol_); scm_gc_mark (permission_);