Skip to content

Commit

Permalink
Merge pull request #351 from gazebosim/scpeters/merge_9_main
Browse files Browse the repository at this point in the history
Merge gz-msgs9 ➡️  main
  • Loading branch information
scpeters authored Jun 21, 2023
2 parents df0cd36 + ccfbba9 commit 3c62ef7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ message(STATUS "\n\n-- ====== Finding Dependencies ======")

#--------------------------------------
# Find Protobuf
set(REQ_PROTOBUF_VER 3)
gz_find_package(GzProtobuf
VERSION ${REQ_PROTOBUF_VER}
REQUIRED
COMPONENTS all
PRETTY Protobuf)
Expand Down
2 changes: 1 addition & 1 deletion src/Generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ bool Generator::Generate(const FileDescriptor *_file,

auto ns = getNamespaces(_file->package());

for (const auto name : ns)
for (const auto &name : ns)
printer.PrintRaw("namespace " + name + " {\n");

for (auto i = 0; i < _file->message_type_count(); ++i)
Expand Down

0 comments on commit 3c62ef7

Please sign in to comment.