Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
index/listing.cpp: In function ‘std::string index_listing(Webserver_Request&, std::string)’:
index/listing.cpp:113:51: error: variable ‘constexpr const std::array<std::basic_string_view<char>, 5> downloadable_suffixes’ has initializer but incomplete type
  113 |         constexpr std::array<std::string_view, 5> downloadable_suffixes {
      |                                                   ^~~~~~~~~~~~~~~~~~~~~

#929
  • Loading branch information
teusbenschop committed Mar 2, 2024
1 parent ac99de9 commit 254d3cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index/listing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


#include <forward_list>
#include <array>
#include <string_view>
#include <index/listing.h>
#include <assets/view.h>
#include <assets/page.h>
Expand Down

0 comments on commit 254d3cc

Please sign in to comment.