Status: Started
Owner: [email protected]
Labels: Type-Enhancement Patch-new

New issue 4376 by [email protected]: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob
https://code.google.com/p/lilypond/issues/detail?id=4376

Redefine LY_ASSERT_SMOB to deal with inherited is_smob

When LY_ASSERT_SMOB is called with a class that is actually derived from
some smobified base class providing is_smob and unsmob, the resulting
check and error message is inaccurate.  This patch uses dynamic_cast in
order to sustain sensible behavior.  The performance impact for
previously working code and type combinations is low since dynamic_cast
in this configuration resolves at compile time.

http://codereview.appspot.com/229680043

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to