Skip to content

Commit 01bd066

Browse files
authored
Merge pull request #267 from jlcordeiro/feature/boost_cleanup
remove unused boost includes
2 parents 8fd0ef8 + 62ec1d8 commit 01bd066

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

include/cppkafka/message_timestamp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#define CPPKAFKA_MESSAGE_TIMESTAMP_H
3232

3333
#include <chrono>
34-
#include <boost/optional.hpp>
3534
#include <librdkafka/rdkafka.h>
3635
#include "macros.h"
3736

include/cppkafka/queue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
#include <vector>
3131
#include <memory>
32-
#include <boost/optional.hpp>
3332
#include <librdkafka/rdkafka.h>
3433
#include "event.h"
3534
#include "macros.h"

include/cppkafka/topic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
#include <string>
3434
#include <memory>
35-
#include <boost/optional.hpp>
3635
#include <librdkafka/rdkafka.h>
3736
#include "macros.h"
3837

include/cppkafka/utils/buffered_producer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include <atomic>
4040
#include <future>
4141
#include <thread>
42-
#include <boost/optional.hpp>
4342
#include "../producer.h"
4443
#include "../detail/callback_invoker.h"
4544
#include "../message_internal.h"

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ add_executable(cppkafka_tests
4747
)
4848

4949
# In CMake >= 3.15 Boost::boost == Boost::headers
50-
target_link_libraries(cppkafka_tests cppkafka RdKafka::rdkafka Boost::boost Boost::program_options)
50+
target_link_libraries(cppkafka_tests cppkafka RdKafka::rdkafka Boost::boost)
5151
add_dependencies(tests cppkafka_tests)
5252
add_test(cppkafka cppkafka_tests)

0 commit comments

Comments
 (0)