Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
linux-latest:
name: Linux Latest Config
needs: [linux-min]
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
matrix:
compiler: [clang++, g++]
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
pre-commit:
name: Pre-commit checks
runs-on: ubuntu-22.04
runs-on: ubuntu-26.04
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
Expand All @@ -20,7 +20,5 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Run pre-commit checks on PR
uses: pre-commit/action@v3.0.1
4 changes: 2 additions & 2 deletions exercises/practice/complex-numbers/test/catch_amalgamated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ namespace Catch {
}

namespace literals {
Approx operator "" _a(long double val) {
Approx operator ""_a(long double val) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe we have this exact same file copied to each exercise. I'm not sure if changing only one is a good idea. If this fails on a newer compiler, we should probably upgrade Catch2 altogether (I feel we've discussed this and there was some reason not to upgrade, but I can't quite remember ...).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Happy to mass-apply this change across the repo.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

return Approx(val);
}
Approx operator "" _a(unsigned long long val) {
Approx operator ""_a(unsigned long long val) {
return Approx(val);
}
} // end namespace literals
Expand Down
Loading