command_table: fix duplicate definition of Value
The ipmid/types.hpp already has a Value definition which is
effectively the same as the one defined here, except for a few
additional variant types. Use that one instead.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia67c03f14170a43e27d86c46421a6d012f08c5e1
diff --git a/command_table.cpp b/command_table.cpp
index 6a37f38..1514274 100644
--- a/command_table.cpp
+++ b/command_table.cpp
@@ -6,6 +6,7 @@
#include "sessions_manager.hpp"
#include <iomanip>
+#include <ipmid/types.hpp>
#include <main.hpp>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
@@ -15,13 +16,6 @@
using namespace sdbusplus::xyz::openbmc_project::Common::Error;
using namespace phosphor::logging;
-namespace ipmi
-{
-using Value = std::variant<bool, uint8_t, int16_t, uint16_t, int32_t, uint32_t,
- int64_t, uint64_t, double, std::string>;
-
-} // namespace ipmi
-
namespace command
{