Skip to content

Commit 8ac2339

Browse files
committed
compilation error fix
1 parent 3901215 commit 8ac2339

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/gpp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919

2020
- name: Prepare
2121
env:
22-
CC: gcc-13
23-
CXX: g++-13
22+
CC: gcc-14
23+
CXX: g++-14
2424
run: |
2525
cmake -B build -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
2626
continue-on-error: false

tests/source/gl/test_properties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ TEST_CASE_FIXTURE(test_dynamic_properties, "get should throw for a not present k
102102
}
103103

104104
TEST_CASE_FIXTURE(test_dynamic_properties, "get should throw for an invalid value type") {
105-
sut.underlying()[key] = value;
105+
sut.underlying()[key] = std::any{value};
106106
CHECK_THROWS_AS(func::discard_result(sut.get<double>(key)), std::bad_any_cast);
107107
}
108108

0 commit comments

Comments
 (0)