Skip to content

Commit

Permalink
Fix build with c++20 standard
Browse files Browse the repository at this point in the history
error: use of overloaded operator '!=' is ambiguous
(with operand types 'String' and 'std::nullptr_t')
  • Loading branch information
radioactiveman committed Jan 12, 2024
1 parent e2c9ee4 commit c67afc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libaudgui/infowin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static void infowin_show (Playlist list, int entry, const String & filename,
EXPORT void audgui_infowin_show (Playlist playlist, int entry)
{
String filename = playlist.entry_filename (entry);
g_return_if_fail (filename != nullptr);
g_return_if_fail (filename);

String error;
PluginHandle * decoder = playlist.entry_decoder (entry, Playlist::Wait, & error);
Expand Down

0 comments on commit c67afc5

Please sign in to comment.