Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 99b1dda

Browse filesBrowse files
authored
add preprocessor __CPP_REDIS_USE_CUSTOM_TCP_CLIENT for fix up compile error while USE_CUSTOM_TCP_CLIENT=on (#62)
1 parent 8f7034e commit 99b1dda
Copy full SHA for 99b1dda

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎sources/core/consumer.cpp

Copy file name to clipboardExpand all lines: sources/core/consumer.cpp
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ using namespace std::placeholders;
2929

3030
namespace cpp_redis {
3131

32+
#ifndef __CPP_REDIS_USE_CUSTOM_TCP_CLIENT
33+
3234
consumer_client_container::consumer_client_container() : ack_client(), poll_client() {
3335
}
3436

37+
#endif /* __CPP_REDIS_USE_CUSTOM_TCP_CLIENT */
38+
3539
consumer::consumer(std::string stream, std::string consumer, size_t max_concurrency)
3640
: m_stream(std::move(stream)),
3741
m_name(std::move(consumer)),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.