]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pure-from-neighbor-interface.cc
Issue4141/2: Use Xxx:is_smob instead of Xxx:unsmob when used in boolean contexts
[lilypond.git] / lily / pure-from-neighbor-interface.cc
index fc3f238e3bd32d92d84a0e9a6f3a9f2c8a95ce6b..a24c761480fffc4373b8a48ddec7b0e5693354f6 100644 (file)
@@ -42,7 +42,7 @@ Pure_from_neighbor_interface::calc_pure_relevant_grobs (SCM smob)
   new_elts.insert (new_elts.end (), elts.begin (), elts.end ());
 
   SCM neighbors_scm = me->get_object ("neighbors");
-  if (Grob_array::unsmob (neighbors_scm))
+  if (Grob_array::is_smob (neighbors_scm))
     {
       vector<Grob *> &arr
         = Grob_array::unsmob (neighbors_scm)->array_reference ();