prefer explicit cast over terseness.
This commit is contained in:
parent
1b1cbec00b
commit
ba0f7482c3
@ -1120,7 +1120,7 @@ GainMeterBase::get_controllable()
|
||||
bool
|
||||
GainMeterBase::level_meter_button_press (GdkEventButton* ev)
|
||||
{
|
||||
return !!LevelMeterButtonPress (ev); /* EMIT SIGNAL */
|
||||
return static_cast<bool>(LevelMeterButtonPress (ev)); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -455,7 +455,7 @@ LevelMeterBase::set_type(MeterType t)
|
||||
bool
|
||||
LevelMeterBase::meter_button_press (GdkEventButton* ev)
|
||||
{
|
||||
return !!ButtonPress (ev); /* EMIT SIGNAL */
|
||||
return static_cast<bool>(ButtonPress (ev)); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user