summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Amelkin <a.amelkin@yadro.com>2019-04-15 15:11:03 +0300
committerEmily Shaffer <emilyshaffer@google.com>2019-04-16 02:57:47 +0000
commit00b096d1c8a95a83b78464d722bb0336091ddec4 (patch)
tree397e33586fd5c339fd9202c0320fff564233bc26
parent5023aa95ff56ea9ebf6a9e265dc4498c38f18bc7 (diff)
downloadphosphor-host-ipmid-00b096d1c8a95a83b78464d722bb0336091ddec4.zip
phosphor-host-ipmid-00b096d1c8a95a83b78464d722bb0336091ddec4.tar.gz
Fix compilation warning regarding std::variant
When building with SDK, the compiler complains about ’variant’ being not a member of ’std’: .../pack.hpp:249:24: error: ‘variant’ is not a member of ‘std’ This commit adds appropriate #include to fix that. Change-Id: I99d6b7c17cbe1f49d706821797cf3fa03ca8c26a Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
-rw-r--r--include/ipmid/message/pack.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ipmid/message/pack.hpp b/include/ipmid/message/pack.hpp
index 4314ac1..18863c4 100644
--- a/include/ipmid/message/pack.hpp
+++ b/include/ipmid/message/pack.hpp
@@ -22,6 +22,7 @@
#include <phosphor-logging/log.hpp>
#include <tuple>
#include <utility>
+#include <variant>
#include <vector>
namespace ipmi
OpenPOWER on IntegriCloud