Remove use of C-style casts
This commit is contained in:
committed by
Jonas Kvinge
parent
637772f8f0
commit
b38ad81928
@@ -313,7 +313,7 @@ void SmartPlaylistSearchTermWidget::set_overlay_opacity(float opacity) {
|
||||
}
|
||||
|
||||
float SmartPlaylistSearchTermWidget::overlay_opacity() const {
|
||||
return overlay_ ? overlay_->opacity() : float(0.0);
|
||||
return overlay_ ? overlay_->opacity() : static_cast<float>(0.0);
|
||||
}
|
||||
|
||||
void SmartPlaylistSearchTermWidget::SetTerm(const SmartPlaylistSearchTerm &term) {
|
||||
|
||||
Reference in New Issue
Block a user