Skip to content

Commit

Permalink
Porting to up-cpp rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
agosh01 committed Jul 28, 2024
1 parent 247454b commit e512f05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test_agent/cpp/conanfile.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[requires]
protobuf/[>=3.21.12]
up-core-api/1.6.0
up-cpp/[~1.0]
up_client_socket/1.0.0-tmp
up-cpp/1.0.1-rc1
up_client_socket/1.0.0
rapidjson/cci.20230929
spdlog/[>=1.13.0]
fmt/10.2.1
Expand Down
6 changes: 3 additions & 3 deletions test_agent/cpp/src/APIWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ UStatus APIWrapper::handleRegisterListenerCommand(Document& jsonData) {
// Register the lambda function as a listener for messages on the specified
// URI.
auto result = transportPtr_->registerListener(
// sink_uri =
uri,
// callback =
[this](const UMessage& transportUMessage) {
spdlog::info("APIWrapper::onReceive(), received.");
Expand All @@ -162,7 +160,9 @@ UStatus APIWrapper::handleRegisterListenerCommand(Document& jsonData) {
// Send the message to the Test Manager with a predefined response.
sendToTestManager(transportUMessage,
Constants::RESPONSE_ON_RECEIVE);
});
},
// src_uri =
uri);

return result.has_value()
? addHandleToUriCallbackMap(std::move(result).value(), uri)
Expand Down

0 comments on commit e512f05

Please sign in to comment.