Skip to content

Commit 93893e1

Browse files
authored
Merge pull request mfontanini#292 from SpaceIm/fix/export-template
Do not try to export template declaration in shared lib
2 parents 5a119f6 + 025d8ed commit 93893e1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/cppkafka/utils/buffered_producer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ namespace cppkafka {
8484
*/
8585
template <typename BufferType,
8686
typename Allocator = std::allocator<ConcreteMessageBuilder<BufferType>>>
87-
class CPPKAFKA_API BufferedProducer {
87+
class BufferedProducer {
8888
public:
8989
enum class FlushMethod {
9090
Sync, ///< Empty the buffer and wait for acks from the broker.

include/cppkafka/utils/compacted_topic_processor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace cppkafka {
4444
* \brief Events generated by a CompactedTopicProcessor
4545
*/
4646
template <typename Key, typename Value>
47-
class CPPKAFKA_API CompactedTopicEvent {
47+
class CompactedTopicEvent {
4848
public:
4949
/**
5050
* \brief Event type enum
@@ -111,7 +111,7 @@ class CPPKAFKA_API CompactedTopicEvent {
111111
};
112112

113113
template <typename Key, typename Value>
114-
class CPPKAFKA_API CompactedTopicProcessor {
114+
class CompactedTopicProcessor {
115115
public:
116116
/**
117117
* The type of events generated by this processor

include/cppkafka/utils/consumer_dispatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace cppkafka {
7070
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
7171
*/
7272
template <typename ConsumerType>
73-
class CPPKAFKA_API BasicConsumerDispatcher {
73+
class BasicConsumerDispatcher {
7474
public:
7575
/**
7676
* Tag to indicate a timeout occurred

0 commit comments

Comments
 (0)