Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Dec 20, 2023
1 parent 3f4810d commit 778ecb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/API/ontologenius/OntologyManipulatorIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OntologyManipulatorIndex::OntologyManipulatorIndex(const std::string& name) : na
sparql(name),
conversion(name)
{
conversion.client_.wait();
conversion.client_.wait(-1);
}

OntologyManipulatorIndex::OntologyManipulatorIndex(const OntologyManipulatorIndex& other): name_(other.name_),
Expand All @@ -28,7 +28,7 @@ OntologyManipulatorIndex::OntologyManipulatorIndex(const OntologyManipulatorInde
sparql(other.name_),
conversion(other.name_)
{
conversion.client_.wait();
conversion.client_.wait(-1);
}

OntologyManipulatorIndex::OntologyManipulatorIndex(OntologyManipulatorIndex&& other): name_(other.name_),
Expand All @@ -42,7 +42,7 @@ OntologyManipulatorIndex::OntologyManipulatorIndex(OntologyManipulatorIndex&& ot
sparql(other.name_),
conversion(other.name_)
{
conversion.client_.wait();
conversion.client_.wait(-1);
}

} // namespace onto
3 changes: 0 additions & 3 deletions src/interface/RosInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,7 @@ bool RosInterface::actionsHandle(compat::onto_ros::ServiceWrapper<compat::Ontolo
removeUselessSpace(req->param);

if(req->action == "add")
{
// ros::service::waitForService("ontologenius/rest", -1);
res->code = onto_->readFromUri(req->param);
}
else if(req->action == "fadd")
res->code = onto_->readFromFile(req->param);
else if(req->action == "save")
Expand Down

0 comments on commit 778ecb6

Please sign in to comment.