Use boost::process::v1
To support the latest boost::process, change the header and calls to v1.
Change-Id: I83c2804bbe2ebed60306139ac6980128f06baa60
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/src/u-boot-env-mgr.cpp b/src/u-boot-env-mgr.cpp
index 75f4ece..af8e6df 100644
--- a/src/u-boot-env-mgr.cpp
+++ b/src/u-boot-env-mgr.cpp
@@ -16,8 +16,8 @@
#include "u-boot-env-mgr.hpp"
-#include <boost/process/child.hpp>
-#include <boost/process/io.hpp>
+#include <boost/process/v1/child.hpp>
+#include <boost/process/v1/io.hpp>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
#include <xyz/openbmc_project/Common/error.hpp>
@@ -30,9 +30,10 @@
ArgTypes&&... tArgs)
{
std::vector<std::string> stdOutput;
- boost::process::ipstream stdOutStream;
- boost::process::child execProg(path, const_cast<char*>(tArgs)...,
- boost::process::std_out > stdOutStream);
+ boost::process::v1::ipstream stdOutStream;
+ boost::process::v1::child execProg(
+ path, const_cast<char*>(tArgs)...,
+ boost::process::v1::std_out > stdOutStream);
std::string stdOutLine;
while (stdOutStream && std::getline(stdOutStream, stdOutLine) &&