]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score.cc
Issue 4086/1: Reimplement Input in terms of Simple_smob
[lilypond.git] / lily / score.cc
index b5316954696a1dad0f0166c5a1ef90fd51f986fc..2074f810e7a8c3565e4e76f7d54a0bf926270535 100644 (file)
@@ -52,7 +52,7 @@ Score::Score ()
   error_found_ = false;
 
   smobify_self ();
-  input_location_ = make_input (Input ());
+  input_location_ = Input ().smobbed_copy ();
 }
 
 Score::~Score ()
@@ -90,7 +90,7 @@ Score::Score (Score const &s)
   error_found_ = s.error_found_;
 
   smobify_self ();
-  input_location_ = make_input (*s.origin ());
+  input_location_ = s.origin ()->smobbed_copy ();
 
   Music *m = Music::unsmob (s.music_);
   if (m)