]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-info.cc
assert Grob_info doesn't get null pointers.
[lilypond.git] / lily / grob-info.cc
index 62af8f32562a8864ceb500b69838111eb1dac592..aa6583f927dd13bdbe43ebb8263d6c20e2206bb8 100644 (file)
@@ -19,6 +19,11 @@ Grob_info::Grob_info (Translator *t, Grob *g)
   origin_trans_ = t;
   grob_ = g;
   start_end_ = START;
+
+  /*
+    assert here, because this is easier to debug.
+  */
+  assert (g);
 }
 
 Grob_info::Grob_info ()