Skip to content

Move code that accesses public_suffix_list::root_ to .cpp file #117

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

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

rmisev
Copy link
Member

@rmisev rmisev commented Mar 27, 2025

The variable root_ is of type label_item struct, containing a member named children. The type of children differs depending on whether the code is compiled with C++17 or C++20. It is possible to encounter a situation where the Upa URL library is compiled using a C++17 compiler, but is then integrated into a program compiled with C++20. In such cases, it is important that all code accessing root_ is compiled using the same C++ standard, prompting the implementation of this fix.

The variable `root_` is of type `label_item` struct, containing a member
named `children`. The type of `children` differs depending on whether
the code is compiled with C++17 or C++20. It is possible to encounter a
situation where the Upa URL library is compiled using a C++17 compiler,
but is then integrated into a program compiled with C++20. In such
cases, it is important that all code accessing `root_` is compiled using
the same C++ standard, prompting the implementation of this fix.
Copy link

codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.66%. Comparing base (5b7c091) to head (a772071).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #117   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          16       16           
  Lines        2671     2675    +4     
  Branches      424      424           
=======================================
+ Hits         2662     2666    +4     
  Misses          9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rmisev rmisev merged commit a772071 into main Mar 27, 2025
29 checks passed
@rmisev rmisev deleted the psl-update branch March 27, 2025 18:43
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.

1 participant