summaryrefslogtreecommitdiffstats
path: root/blobs-ipmid/blobs.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-05-17 19:21:35 -0700
committerPatrick Venture <venture@google.com>2019-05-20 13:39:15 -0700
commit00d5f0de56f3e453be37c2ffc45418fb406396a2 (patch)
treeb80981789421f0262ff87f53bb47a8aa683e0bea /blobs-ipmid/blobs.hpp
parent9260be38323f5205c3968de37117993001984847 (diff)
downloadphosphor-ipmi-blobs-00d5f0de56f3e453be37c2ffc45418fb406396a2.tar.gz
phosphor-ipmi-blobs-00d5f0de56f3e453be37c2ffc45418fb406396a2.zip
blobs-ipmid: use enum class for BlobOEMCommands
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ic5aa3e38b4df33a2cfa29c575f17097e38d06605
Diffstat (limited to 'blobs-ipmid/blobs.hpp')
-rw-r--r--blobs-ipmid/blobs.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/blobs-ipmid/blobs.hpp b/blobs-ipmid/blobs.hpp
index dbeac21..e75495b 100644
--- a/blobs-ipmid/blobs.hpp
+++ b/blobs-ipmid/blobs.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
@@ -7,7 +8,7 @@
namespace blobs
{
-enum BlobOEMCommands
+enum class BlobOEMCommands : std::uint8_t
{
bmcBlobGetCount = 0,
bmcBlobEnumerate = 1,
OpenPOWER on IntegriCloud