Skip to content

Commit

Permalink
Merge 18bf943 into 0622409
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcarroll authored Oct 12, 2023
2 parents 0622409 + 18bf943 commit 7c73127
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 81 deletions.
2 changes: 1 addition & 1 deletion core/include/gz/msgs/convert/Pose.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <gz/msgs/convert/Quaternion.hh>

// Message Headers
#include "gz/msgs/details/quaternion.pb.h"
#include "gz/msgs/quaternion.pb.h"
#include "gz/msgs/pose.pb.h"

// Data Headers
Expand Down
10 changes: 7 additions & 3 deletions core/src/DynamicFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,15 @@ DynamicFactory::DynamicFactory()
// Load all the descriptors found in the paths set with GZ_DESCRIPTOR_PATH.
this->LoadDescriptors(descPaths);
}
else

auto globalPath =
std::filesystem::path(gz::msgs::getInstallPrefix()) /
"share" / "gz" / "protos";

if (std::filesystem::exists(globalPath))
{
// Load descriptors from the global share path
this->LoadDescriptors((std::filesystem::path(
gz::msgs::getInstallPrefix()) / "share" / "gz" / "protos").string());
this->LoadDescriptors(globalPath.string());
}
}

Expand Down
76 changes: 0 additions & 76 deletions gz_msg_gen.bzl

This file was deleted.

1 change: 0 additions & 1 deletion test/integration/headers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
#include <gtest/gtest.h>

#include <gz/msgs/Export.hh>
#include "gz/msgs/contact.pb.h"

/////////////////////////////////////////////////
Expand Down

0 comments on commit 7c73127

Please sign in to comment.