blob: e735d432a792592608682402f551142b1305f4d3 [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From 6168d43ddd353b92ad8bcd5c49dc68f18caa8a00 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 12 Apr 2022 17:07:49 -0700
4Subject: [PATCH 1/2] include missing <array> header
5
6Fixes
7src/osaf/consensus/key_value.cc:25:30: error: aggregate 'std::array<char, 128> buffer' has incomplete type and cannot be defined
8 25 | std::array<char, buf_size> buffer;
9 | ^~~~~~
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 src/osaf/consensus/key_value.cc | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/osaf/consensus/key_value.cc b/src/osaf/consensus/key_value.cc
18index 692dd3f..6e16cbf 100644
19--- a/src/osaf/consensus/key_value.cc
20+++ b/src/osaf/consensus/key_value.cc
21@@ -18,7 +18,7 @@
22 #include "base/getenv.h"
23 #include "base/logtrace.h"
24 #include "osaf/consensus/consensus.h"
25-
26+#include <array>
27 int KeyValue::Execute(const std::string& command, std::string& output) {
28 TRACE_ENTER();
29 constexpr size_t buf_size = 128;
30--
312.35.1
32