blob: 2c1e617e553919362aac6865a3217ec82cf271cd [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 5985f366750a73c81c7d86893a2b959b4af062a5 Mon Sep 17 00:00:00 2001
William A. Kennington IIIac69b482021-06-02 12:28:27 -07002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 May 2021 22:12:46 -0700
4Subject: [PATCH] aptwebserver.cc: Include <array>
5
6This helps getting std::array definition
7
8Fixes
9test/interactive-helper/aptwebserver.cc:36:55: error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *, 2>, 6>'
10 constexpr std::array<std::array<char const *,2>,6> htmlencode = {{
11
12Upstream-Status: Submitted [https://github.com/Debian/apt/pull/133]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
Andrew Geissler9aee5002022-03-30 16:27:02 +000014
William A. Kennington IIIac69b482021-06-02 12:28:27 -070015---
16 test/interactive-helper/aptwebserver.cc | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc
Andrew Geissler9aee5002022-03-30 16:27:02 +000020index f4f8d95..361c7a9 100644
William A. Kennington IIIac69b482021-06-02 12:28:27 -070021--- a/test/interactive-helper/aptwebserver.cc
22+++ b/test/interactive-helper/aptwebserver.cc
Andrew Geissler9aee5002022-03-30 16:27:02 +000023@@ -23,6 +23,7 @@
William A. Kennington IIIac69b482021-06-02 12:28:27 -070024
Andrew Geissler9aee5002022-03-30 16:27:02 +000025 #include <array>
William A. Kennington IIIac69b482021-06-02 12:28:27 -070026 #include <algorithm>
27+#include <array>
28 #include <fstream>
29 #include <iostream>
30 #include <list>