remove unused boost includes

This commit is contained in:
Joao Cordeiro
2020-10-18 12:30:27 +01:00
parent 5e4b350806
commit 62ec1d82c1
5 changed files with 1 additions and 5 deletions

View File

@@ -31,7 +31,6 @@
#define CPPKAFKA_MESSAGE_TIMESTAMP_H #define CPPKAFKA_MESSAGE_TIMESTAMP_H
#include <chrono> #include <chrono>
#include <boost/optional.hpp>
#include <librdkafka/rdkafka.h> #include <librdkafka/rdkafka.h>
#include "macros.h" #include "macros.h"

View File

@@ -29,7 +29,6 @@
#include <vector> #include <vector>
#include <memory> #include <memory>
#include <boost/optional.hpp>
#include <librdkafka/rdkafka.h> #include <librdkafka/rdkafka.h>
#include "event.h" #include "event.h"
#include "macros.h" #include "macros.h"

View File

@@ -32,7 +32,6 @@
#include <string> #include <string>
#include <memory> #include <memory>
#include <boost/optional.hpp>
#include <librdkafka/rdkafka.h> #include <librdkafka/rdkafka.h>
#include "macros.h" #include "macros.h"

View File

@@ -39,7 +39,6 @@
#include <atomic> #include <atomic>
#include <future> #include <future>
#include <thread> #include <thread>
#include <boost/optional.hpp>
#include "../producer.h" #include "../producer.h"
#include "../detail/callback_invoker.h" #include "../detail/callback_invoker.h"
#include "../message_internal.h" #include "../message_internal.h"

View File

@@ -47,6 +47,6 @@ add_executable(cppkafka_tests
) )
# In CMake >= 3.15 Boost::boost == Boost::headers # In CMake >= 3.15 Boost::boost == Boost::headers
target_link_libraries(cppkafka_tests cppkafka RdKafka::rdkafka Boost::boost Boost::program_options) target_link_libraries(cppkafka_tests cppkafka RdKafka::rdkafka Boost::boost)
add_dependencies(tests cppkafka_tests) add_dependencies(tests cppkafka_tests)
add_test(cppkafka cppkafka_tests) add_test(cppkafka cppkafka_tests)