Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(218)

Unified Diff: lily/context.cc

Issue 4830064: lily/auto-beam-engraver: keep a Context_handle to starting Staff (Closed)
Patch Set: the important change, relative to Patch Set 2 Created 12 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lily/context.cc
diff --git a/lily/context.cc b/lily/context.cc
index 3454ab1f1735fcc257ec58a46c46d0adc21c1e3f..83b8ae17dd21d6f1e2575f6303a039b921b1b9c1 100644
--- a/lily/context.cc
+++ b/lily/context.cc
@@ -35,7 +35,7 @@
bool
Context::is_removable () const
{
- return context_list_ == SCM_EOL && ! iterator_count_
+ return context_list_ == SCM_EOL && ! client_count_
Neil Puttock 2011/08/11 19:53:07 !client_count_
&& !dynamic_cast<Global_context const *> (daddy_context_);
}
@@ -82,7 +82,7 @@ Context::Context ()
{
daddy_context_ = 0;
aliases_ = SCM_EOL;
- iterator_count_ = 0;
+ client_count_ = 0;
implementation_ = 0;
properties_scm_ = SCM_EOL;
accepts_list_ = SCM_EOL;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b