do not try to export template declaration

it doesn't make sense to export a template declaration
This commit is contained in:
SpaceIm
2022-04-07 19:37:08 +02:00
parent 5a119f689f
commit 025d8ed7e1
3 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ namespace cppkafka {
*/
template <typename BufferType,
typename Allocator = std::allocator<ConcreteMessageBuilder<BufferType>>>
class CPPKAFKA_API BufferedProducer {
class BufferedProducer {
public:
enum class FlushMethod {
Sync, ///< Empty the buffer and wait for acks from the broker.

View File

@@ -44,7 +44,7 @@ namespace cppkafka {
* \brief Events generated by a CompactedTopicProcessor
*/
template <typename Key, typename Value>
class CPPKAFKA_API CompactedTopicEvent {
class CompactedTopicEvent {
public:
/**
* \brief Event type enum
@@ -111,7 +111,7 @@ private:
};
template <typename Key, typename Value>
class CPPKAFKA_API CompactedTopicProcessor {
class CompactedTopicProcessor {
public:
/**
* The type of events generated by this processor

View File

@@ -70,7 +70,7 @@ namespace cppkafka {
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
*/
template <typename ConsumerType>
class CPPKAFKA_API BasicConsumerDispatcher {
class BasicConsumerDispatcher {
public:
/**
* Tag to indicate a timeout occurred