Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ControllerMock::update' hides overloaded virtual function #1948

Open
christophfroehlich opened this issue Dec 16, 2024 · 0 comments
Open

'ControllerMock::update' hides overloaded virtual function #1948

christophfroehlich opened this issue Dec 16, 2024 · 0 comments

Comments

@christophfroehlich
Copy link
Contributor

On humble I saw the following warning (but code is the same on master branch)

In file included from /workspaces/ros2_humble_ws/src/ros2_control/controller_manager/test/test_hardware_spawner.cpp:23:
/workspaces/ros2_humble_ws/src/ros2_control/controller_manager/test/controller_manager_test_common.hpp:259:16: warning: 'ControllerMock::update' hides overloaded virtual function [-Woverloaded-virtual]
  MOCK_METHOD0(update, controller_interface::return_type(void));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant