Skip to content

Commit a3da321

Browse files
author
Pascal Guenther
committed
try to fix CI
1 parent 56cf62e commit a3da321

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci-2024-cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
cxxmac: g++-14
5858

5959
- compiler: clang
60-
cc: clang-16
61-
cxx: clang++-16
60+
cc: clang-19
61+
cxx: clang++-19
6262
ccmac: clang
6363
cxxmac: clang++
6464

cpp/src/day01.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace {
6161

6262
AOC_Y2024_CONSTEXPR auto part_2(const auto &parsedInput)
6363
{
64-
int similarity{0};
64+
long int similarity{0};
6565
for(const auto &l : parsedInput.left)
6666
{
6767
similarity += l * std::count(parsedInput.right.begin(), parsedInput.right.end(), l);

cpp/src/day03.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace {
2020
enum Instruction {mul, do_, dont,};
2121
struct Operation {
2222
Instruction instruction;
23-
std::pair<Operand, Operand> operands;
23+
std::pair<Operand, Operand> operands{};
2424
};
2525
using Parsed = std::vector<Operation>;
2626

0 commit comments

Comments
 (0)