13
0

prefer explicit cast over terseness.

This commit is contained in:
Robin Gareus 2015-04-28 14:32:59 +02:00
parent 1b1cbec00b
commit ba0f7482c3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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