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

Fix GMock deprecation warnings #226

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

Fix GMock deprecation warnings #226

christophfroehlich opened this issue Dec 8, 2024 · 0 comments

Comments

@christophfroehlich
Copy link
Contributor

   /opt/ros/humble/src/gtest_vendor/include/gtest/internal/gtest-port.h:682:8: note: expanded from macro 'GTEST_DISALLOW_ASSIGN_'
    void operator=(type const &) = delete
         ^
  /opt/ros/humble/src/gmock_vendor/include/gmock/gmock-matchers.h:3660:10: note: in implicit copy constructor for 'testing::internal::FloatingEqMatcher<float>' first required here
    return internal::FloatingEqMatcher<float>(rhs, false);
           ^
  /opt/ros/humble/src/gmock_vendor/include/gmock/gmock-matchers.h:721:3: warning: definition of implicit copy constructor for 'StrEqualityMatcher<std::basic_string<char>>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant