Skip to content

Conversation

@MarcelloPerathoner
Copy link
Contributor

Issue

Fixes #7302: clang-21 build fails with warnings

Tasklist

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes clang-21 compiler warnings by removing the virtual keyword from methods in the TableAPI class, which is marked as final. Since a final class cannot be further derived from, marking its methods as virtual is unnecessary and triggers warnings in clang-21.

Key changes:

  • Removed virtual keyword from destructor and all member functions in TableAPI
  • Maintained proper formatting and alignment throughout

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TheMarex TheMarex force-pushed the Fix-clang-21-warnings branch from 9c24cec to 5d447c8 Compare January 9, 2026 13:15
@TheMarex TheMarex merged commit 64726e7 into Project-OSRM:master Jan 9, 2026
19 checks passed
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

Successfully merging this pull request may close these issues.

clang-21 build fails with warnings

2 participants