Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UNEXENU committed Feb 21, 2025
1 parent fc64268 commit 8851990
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/engine/Operation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ Operation::getRuntimeInfoChildren() {
res.emplace_back(child->getRootOperation()->getRuntimeInfoPointer());
}
return res;
}

// _____________________________________________________________________________
std::unique_ptr<Operation> Operation::clone() const {
Expand Down
2 changes: 1 addition & 1 deletion src/engine/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -634,5 +634,5 @@ void Service::precomputeSiblingResult(std::shared_ptr<Operation> left,
// _____________________________________________________________________________
std::unique_ptr<Operation> Service::cloneImpl() const {
return std::make_unique<Service>(_executionContext, parsedServiceClause_,
getResultFunction_);
networkFunctions_);
}
5 changes: 2 additions & 3 deletions test/ServiceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ class ServiceTest : public ::testing::Test {
const boost::beast::http::verb& method,
std::string_view postData, std::string_view contentTypeHeader,
std::string_view acceptHeader,
const std::vector<std::pair<std::string, std::string>>&
customHeaders) {
const std::vector<std::pair<std::string, std::string>>&) {
// Check that the request parameters are as expected.
//
// NOTE: The first three are hard-coded in
Expand Down Expand Up @@ -832,7 +831,7 @@ TEST_F(ServiceTest, clone) {
"PREFIX doof: <http://doof.org>",
"{ }",
true},
getResultFunctionFactory(
getNetworkFunctionsFactory(
"http://localhorst:80/api",
"PREFIX doof: <http://doof.org> SELECT ?x ?y WHERE { }",
genJsonResult({"x", "y"}, {{"a", "b"}}),
Expand Down

0 comments on commit 8851990

Please sign in to comment.