Skip to content

Commit

Permalink
fix windows build breaks (missing return value on the new getActorPos…
Browse files Browse the repository at this point in the history
…e() method) and a warning as error on one unused parameter.
  • Loading branch information
lovettchris committed Dec 7, 2017
1 parent b29c2aa commit bc44e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class RealMultirotorConnector : public VehicleConnectorBase
virtual Pose getActorPose(const std::string& actor_name) override
{
unused(actor_name);
return msr::airlib::Pose();
}


Expand Down
1 change: 1 addition & 0 deletions AirLib/src/api/RpcLibClientBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ CollisionInfo RpcLibClientBase::getCollisionInfo()

msr::airlib::Pose RpcLibClientBase::simGetObjectPose(const std::string& object_name)
{
unused(object_name);
return pimpl_->client.call("simGetObjectPose").as<RpcLibAdapatorsBase::Pose>().to();
}

Expand Down

0 comments on commit bc44e8f

Please sign in to comment.