Skip to content

Remove unused gz/common/Profiler.hh include in Ogre2Scene.cc - #1314

Closed
j-rivero wants to merge 1 commit into
mainfrom
jrivero/fix-ogre2-profiler-include
Closed

Remove unused gz/common/Profiler.hh include in Ogre2Scene.cc#1314
j-rivero wants to merge 1 commit into
mainfrom
jrivero/fix-ogre2-profiler-include

Conversation

@j-rivero

Copy link
Copy Markdown
Contributor

🦟 Bug fix

Summary

ogre2/src/Ogre2Scene.cc includes <gz/common/Profiler.hh> but never
uses it. This header was not part of the original #1302 and breaks the
Bazel build, since gz-common's Bazel target does not expose it:

ogre2/src/Ogre2Scene.cc:33:10: fatal error: gz/common/Profiler.hh: No such file or directory

Reported by @luca-della-vedova on the gz-rendering10 backport (#1305):
https://github.com/gazebosim/gz-rendering/pull/1305/changes#r3519694401

The same dead include is also present in the two other open backports
of #1302 (#1306, #1307); fixes have been pushed to those PR branches
directly.

Checklist

  • Signed all commits for DCO
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits.

Generated-by: Claude Sonnet 5

This header is not used in the file and is not part of the original
PR #1302. It breaks the Bazel build since gz-common does not expose
this header there.

Generated-by: Claude Sonnet 5
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
@j-rivero

Copy link
Copy Markdown
Contributor Author

The PR is not correct. The Profile header is IN use and was not part of the original #1302.

@j-rivero j-rivero closed this Jul 20, 2026
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Core development Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants