diff options
Diffstat (limited to 'src/command/FileCommands.cxx')
-rw-r--r-- | src/command/FileCommands.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index b5ad01f52..d7aed4445 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -156,14 +156,14 @@ handle_read_comments(Client &client, Request args, Response &r) static InputStreamPtr find_stream_art(std::string_view directory, Mutex &mutex) { - static constexpr char const * art_names[] = { + static constexpr auto art_names = std::array { "cover.png", "cover.jpg", "cover.tiff", - "cover.bmp" + "cover.bmp", }; - for(const auto name: art_names) { + for(const auto name : art_names) { std::string art_file = PathTraitsUTF8::Build(directory, name); try { |