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

Unified Diff: lily/include/protected-scm.hh

Issue 296310043: Give add_acknowledger SCM &, not Protected_scm & (Closed)
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | lily/include/translator.icc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/include/protected-scm.hh
diff --git a/lily/include/protected-scm.hh b/lily/include/protected-scm.hh
index 48a26b15c995a4d948a5c4974dd9da02f414cb71..44317ed296990f3123a8a0a3212099a3e4edbc75 100644
--- a/lily/include/protected-scm.hh
+++ b/lily/include/protected-scm.hh
@@ -46,13 +46,15 @@ class Protected_scm
static SCM list_;
static SCM last_;
Protected_scm (Protected_scm const &);
+ void protectify (SCM);
public:
Protected_scm ();
Protected_scm (SCM);
~Protected_scm ();
Protected_scm &operator = (SCM);
Protected_scm &operator = (Protected_scm const &);
- operator SCM () const;
+ operator const SCM & () const;
+ operator SCM & ();
};
#endif /* PROTECTED_SCM_HH */
« no previous file with comments | « no previous file | lily/include/translator.icc » ('j') | no next file with comments »

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