mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
				synced 2025-11-03 20:18:06 +00:00 
			
		
		
		
	Merge pull request #267 from jlcordeiro/feature/boost_cleanup
remove unused boost includes
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user