Fixing the build (as per John)
This commit is contained in:
1 parent
4916211301
commit
e652c1cd24
3 files changed
+8
-4
No files matched your search
@@ -5,6 +5,7 @@
|
||||
#include "lib/md/CCApiCorrelationID.h"
|
||||
#include "lib/md/ICCApiMessageHandler.h"
|
||||
|
||||
#include "lib/utils/helper_macros.h"
|
||||
#include <ccapi_cpp/ccapi_event_handler.h>
|
||||
#include <ccapi_cpp/ccapi_message.h>
|
||||
#include <cstdint>
|
||||
@@ -77,6 +78,7 @@ bool CCApiEventDemuxer::processEvent(
|
||||
// trim the front parts off (they're all the same)
|
||||
child_corr_id.consume_parts(me_->corr_id_len);
|
||||
auto [it, _] = demuxed_msgs.try_emplace(child_corr_id);
|
||||
UNUSED(_);
|
||||
it->second.push_back(&msg);
|
||||
}
|
||||
}
|
||||
@@ -106,6 +108,7 @@ void CCApiEventDemuxer::on_messages(
|
||||
// trim the front parts off (they're all the same)
|
||||
handler_corr_id.consume_parts(me_->corr_id_len);
|
||||
auto [it, _] = demuxed_msgs.try_emplace(handler_corr_id);
|
||||
UNUSED(_);
|
||||
it->second.push_back(msg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,11 +24,12 @@
|
||||
// making the following macro names off-limits: INFO, WARNING, ERROR, FATAL.
|
||||
//
|
||||
// The macros below demonstrate the problem (copied from
|
||||
// google/protobuf/logging.h in externals):
|
||||
// google/protobuf/logging.h in externals). Note that eol backslashes have been
|
||||
// removed to avoid a 'multi-line comment' warning-as-error.
|
||||
//
|
||||
// #define GOOGLE_LOG_IF(LEVEL, CONDITION) \
|
||||
// #define GOOGLE_LOG_IF(LEVEL, CONDITION)
|
||||
// !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
|
||||
// #define GOOGLE_CHECK(EXPRESSION) \
|
||||
// #define GOOGLE_CHECK(EXPRESSION)
|
||||
// GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
|
||||
//
|
||||
// The other macros in this file, 'BTS_FATAL_MSG' and 'BTS_FATAL_MSGF', have
|
||||
|
||||
@@ -151,7 +151,7 @@ void Run::run(
|
||||
// start a thread for the md
|
||||
// _md_thread =
|
||||
// std::optional(bts::threading::make_thread("MDPublisher", impl));
|
||||
bool is_run_emumba = true;
|
||||
bool is_run_emumba = false;
|
||||
if (is_run_emumba) {
|
||||
threading::make_thread("Emumba", []() { run_emumba(); }).detach();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user