]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/scm-hash.cc
Issue 4135/2: Replace mark_smob static member functions with non-static members
[lilypond.git] / lily / scm-hash.cc
index 173dd49ccccfa661785b30e95b61e51aee7a76d6..1944b537e18cfeef68b53ea27eab7c483d1d7679 100644 (file)
@@ -71,10 +71,9 @@ Scheme_hash_table::~Scheme_hash_table ()
 }
 
 SCM
-Scheme_hash_table::mark_smob (SCM s)
+Scheme_hash_table::mark_smob ()
 {
-  Scheme_hash_table *me = (Scheme_hash_table *) SCM_CELL_WORD_1 (s);
-  scm_gc_mark (me->hash_tab_);
+  scm_gc_mark (hash_tab_);
   return SCM_EOL;
 }