From dba94c1a212aaf76a1f75496056d6a2466a5bd1a Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 1 Feb 2006 00:00:39 +0000 Subject: [PATCH] (Prob): copy type_ too. --- ChangeLog | 2 ++ lily/prob.cc | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1e02e32a4a..91a89e14d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-02-01 Han-Wen Nienhuys + * 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 diff --git a/lily/prob.cc b/lily/prob.cc index c3c95bb760..6e6f9b98fc 100644 --- a/lily/prob.cc +++ b/lily/prob.cc @@ -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 -- 2.39.2