Skip to content

Commit

Permalink
Fix deprecation warnings resulting from the deprecation of SphericalC…
Browse files Browse the repository at this point in the history
…oordinates enum field.

Signed-off-by: Martin Pecka <[email protected]>
  • Loading branch information
peci1 committed Aug 22, 2024
1 parent f57fb03 commit 7f647da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/generator/Generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,11 @@ bool Generator::Generate(const FileDescriptor *_file,
#include <memory>
#include <gz/msgs/Export.hh>
#include <gz/utils/SuppressWarning.hh>
GZ_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION
#include <$detail_header$>
GZ_UTILS_WARN_RESUME__DEPRECATED_DECLARATION
)");

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

0 comments on commit 7f647da

Please sign in to comment.