use empty() instead of comparison with an empty string
This commit is contained in:
@@ -748,7 +748,7 @@ bool ThumbBrowserBase::Internal::on_query_tooltip (int x, int y, bool keyboard_t
|
||||
}
|
||||
}
|
||||
|
||||
if (ttip != "") {
|
||||
if (!ttip.empty()) {
|
||||
tooltip->set_markup (ttip);
|
||||
return true;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user