]> git.donarmstrong.com Git - lilypond.git/commitdiff
(Prob): copy type_ too.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 1 Feb 2006 00:00:39 +0000 (00:00 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 1 Feb 2006 00:00:39 +0000 (00:00 +0000)
ChangeLog
lily/prob.cc

index 1e02e32a4ad9e401928c1d54bd15ac004543e765..91a89e14d0ad3361cd2e25f06d35c68badb9fbe2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/prob.cc (Prob): copy type_ too.
+
        * lily/lily-guile.cc (mangle_cxx_identifier): new
        function. Class_bla::foo_bar_[px] ->
        ly:class-bla::foo-bar[?!]. Changes throughout
index c3c95bb760b019529cf32def62ebb2fce179352a..6e6f9b98fc49de59fb365c0b8a69430fb670b18f 100644 (file)
@@ -34,6 +34,7 @@ Prob::Prob (Prob const &src)
   immutable_property_alist_ = src.immutable_property_alist_;
   mutable_property_alist_ = SCM_EOL;
   self_scm_ = SCM_EOL;
+  type_ = src.type_;
 
   /* First we smobify_self, then we copy over the stuff.  If we don't,
      stack vars that hold the copy might be optimized away, meaning