Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up depenedencies #47

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/rmq/rmqamqp/rmqamqp_framer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#include <rmqamqpt_method.h>
#include <rmqamqpt_types.h>

#include <boost/iostreams/device/back_inserter.hpp>
#include <boost/iostreams/stream.hpp>

#include <ball_log.h>
#include <bdlb_bigendian.h>

Expand Down Expand Up @@ -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 =
Expand All @@ -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<bsl::vector<uint8_t> > data =
bsl::make_shared<bsl::vector<uint8_t> >();
Expand All @@ -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);

Expand All @@ -274,7 +268,6 @@ rmqamqpt::Frame Framer::makeContentHeaderFrame(const rmqt::Message& message,

rmqamqpt::Frame Framer::makeHeartbeatFrame()
{
using namespace boost::iostreams;

const bsl::shared_ptr<bsl::vector<uint8_t> > data =
bsl::make_shared<bsl::vector<uint8_t> >();
Expand Down
2 changes: 0 additions & 2 deletions src/rmq/rmqamqpt/rmqamqpt_method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include <rmqamqpt_types.h>

#include <boost/iostreams/stream.hpp>

#include <ball_log.h>
#include <bdlb_bigendian.h>
#include <bsl_cstdint.h>
Expand Down
1 change: 1 addition & 0 deletions src/rmq/rmqio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_link_libraries(rmqio PUBLIC
bal
rmqamqpt
rmqt
Boost::boost
)

if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro" )
Expand Down
1 change: 0 additions & 1 deletion src/rmq/rmqio/rmqio_asioconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <boost/asio.hpp>
#include <fcntl.h>
#include <openssl/err.h>

#include <ball_log.h>
#include <bdlf_bind.h>
Expand Down
5 changes: 0 additions & 5 deletions src/tests/rmqamqp/rmqamqp_framer.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#include <rmqio_serializedframe.h>
#include <rmqt_fieldvalue.h>

#include <boost/iostreams/device/back_inserter.hpp>
#include <boost/iostreams/stream.hpp>

#include <gmock/gmock.h>
#include <gtest/gtest.h>

Expand Down Expand Up @@ -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();

Expand All @@ -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();

Expand Down
1 change: 0 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"dependencies": [
"boost-asio",
"boost-iostreams",
"openssl",
"gtest",
"bde"
Expand Down
Loading