diff --git a/src/rmq/rmqamqp/rmqamqp_framer.cpp b/src/rmq/rmqamqp/rmqamqp_framer.cpp index 90a1d04..3b062ec 100644 --- a/src/rmq/rmqamqp/rmqamqp_framer.cpp +++ b/src/rmq/rmqamqp/rmqamqp_framer.cpp @@ -21,9 +21,6 @@ #include #include -#include -#include - #include #include @@ -209,7 +206,6 @@ void Framer::makeMethodFrame(rmqamqpt::Frame* frame, uint16_t channel, const rmqamqpt::Method& method) { - using namespace boost::iostreams; const size_t encodedPayloadSize = method.encodedSize(); const size_t encodedFrameSize = @@ -233,7 +229,6 @@ rmqamqpt::Frame Framer::makeContentBodyFrame(const uint8_t* message, const size_t encodedPayloadSize, uint16_t channel) { - using namespace boost::iostreams; bsl::shared_ptr > data = bsl::make_shared >(); @@ -251,7 +246,6 @@ rmqamqpt::Frame Framer::makeContentBodyFrame(const uint8_t* message, rmqamqpt::Frame Framer::makeContentHeaderFrame(const rmqt::Message& message, uint16_t channel) { - using namespace boost::iostreams; const rmqamqpt::ContentHeader header(rmqamqpt::Constants::BASIC, message); @@ -274,7 +268,6 @@ rmqamqpt::Frame Framer::makeContentHeaderFrame(const rmqt::Message& message, rmqamqpt::Frame Framer::makeHeartbeatFrame() { - using namespace boost::iostreams; const bsl::shared_ptr > data = bsl::make_shared >(); diff --git a/src/rmq/rmqamqpt/rmqamqpt_method.cpp b/src/rmq/rmqamqpt/rmqamqpt_method.cpp index cea97ec..98802c8 100644 --- a/src/rmq/rmqamqpt/rmqamqpt_method.cpp +++ b/src/rmq/rmqamqpt/rmqamqpt_method.cpp @@ -17,8 +17,6 @@ #include -#include - #include #include #include diff --git a/src/rmq/rmqio/CMakeLists.txt b/src/rmq/rmqio/CMakeLists.txt index 9900511..31716c4 100644 --- a/src/rmq/rmqio/CMakeLists.txt +++ b/src/rmq/rmqio/CMakeLists.txt @@ -29,6 +29,7 @@ target_link_libraries(rmqio PUBLIC bal rmqamqpt rmqt + Boost::boost ) if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro" ) diff --git a/src/rmq/rmqio/rmqio_asioconnection.cpp b/src/rmq/rmqio/rmqio_asioconnection.cpp index bdd0e97..fb5e20e 100644 --- a/src/rmq/rmqio/rmqio_asioconnection.cpp +++ b/src/rmq/rmqio/rmqio_asioconnection.cpp @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/src/tests/rmqamqp/rmqamqp_framer.t.cpp b/src/tests/rmqamqp/rmqamqp_framer.t.cpp index d1a99af..aaf305a 100644 --- a/src/tests/rmqamqp/rmqamqp_framer.t.cpp +++ b/src/tests/rmqamqp/rmqamqp_framer.t.cpp @@ -21,9 +21,6 @@ #include #include -#include -#include - #include #include @@ -58,7 +55,6 @@ class ContentDecodeTests : public ::testing::Test { uint16_t channel, const rmqamqpt::ContentHeader& contentHeader) { - using namespace boost::iostreams; const size_t encodedPayloadSize = contentHeader.encodedSize(); @@ -83,7 +79,6 @@ class ContentDecodeTests : public ::testing::Test { uint16_t channel, const rmqamqpt::ContentBody& contentBody) { - using namespace boost::iostreams; const size_t encodedPayloadSize = contentBody.dataLength(); diff --git a/vcpkg.json b/vcpkg.json index c4b2af7..cbb159b 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -4,7 +4,6 @@ "version": "1.0.0", "dependencies": [ "boost-asio", - "boost-iostreams", "openssl", "gtest", "bde"