[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make has_interface work with a const Grob * (issue 573210043 by addr
From: |
jonas . hahnfeld |
Subject: |
Re: Make has_interface work with a const Grob * (issue 573210043 by address@hidden) |
Date: |
Tue, 05 Nov 2019 10:34:38 -0800 |
https://codereview.appspot.com/573210043/diff/577070043/lily/grob-property.cc
File lily/grob-property.cc (right):
https://codereview.appspot.com/573210043/diff/577070043/lily/grob-property.cc#newcode183
lily/grob-property.cc:183: Grob *me = ((Grob *)this);
On 2019/11/04 21:07:59, Dan Eble wrote:
Behold!
Acknowledged.
https://codereview.appspot.com/573210043/diff/577070043/lily/include/grob.hh
File lily/include/grob.hh (right):
https://codereview.appspot.com/573210043/diff/577070043/lily/include/grob.hh#newcode149
lily/include/grob.hh:149: Interval extent (const Grob *refpoint, Axis)
const;
On 2019/11/04 21:07:59, Dan Eble wrote:
The prevailing style is to put "const" after the type. See, for
example,
relative_coordinate() @ line 143.
Done.
https://codereview.appspot.com/573210043/