summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-12-19 14:51:54 -0800
committerEd Tanous <ed.tanous@intel.com>2019-01-12 01:38:02 +0000
commit8f626357d5ebee1bf8039ad6e85f5e02c64c9076 (patch)
tree95ebd433a4d479ab8b7012ba4b741201b6a2a307 /include
parentc0eb9bd95afa900dc808dce7c2c5fa521ba828f5 (diff)
downloadbmcweb-8f626357d5ebee1bf8039ad6e85f5e02c64c9076.tar.gz
bmcweb-8f626357d5ebee1bf8039ad6e85f5e02c64c9076.zip
bmcweb: Remove deprecatd ASIO interfaces
boost::asio::io_service is removed in leiu of io_context, which is a closer match to the networking TS. Move us to that implementatio. This was an automated move using the following command: git grep -l 'io_service' | xargs sed -i 's/io_service/io_context/g' Change-Id: I46605521c01f79f86f6901ddf69ddc8c4bc24103 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/ast_video_puller.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ast_video_puller.hpp b/include/ast_video_puller.hpp
index 520fc68..c97ca48 100644
--- a/include/ast_video_puller.hpp
+++ b/include/ast_video_puller.hpp
@@ -141,7 +141,7 @@ class AsyncVideoPuller
public:
using video_callback = std::function<void(RawVideoBuffer &)>;
- explicit AsyncVideoPuller(boost::asio::io_service &ioService) :
+ explicit AsyncVideoPuller(boost::asio::io_context &ioService) :
imageInfo(), devVideo(ioService, open("/dev/video", O_RDWR))
{
videobuf = std::make_shared<RawVideoBuffer>();
OpenPOWER on IntegriCloud