From 2fd77d2f5d7ae7181c10d4ebf6f6c410f21ed5df Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Sun, 17 Dec 2023 14:20:17 -0600 Subject: [PATCH] trying to fix build --- .github/workflows/mac.yml | 3 +-- src/day3.cpp | 1 + src/day7.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index d2e311a..bc7e864 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-13 strategy: matrix: - xcode: ['14.1', '15.0'] + xcode: ['15.0'] build_type: [Debug, Release] env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer @@ -35,7 +35,6 @@ jobs: strategy: matrix: compiler: - - { cpp: g++-11, c: gcc-11} - { cpp: g++-12, c: gcc-12} - { cpp: clang++, c: clang} build_type: [Debug, Release] diff --git a/src/day3.cpp b/src/day3.cpp index bc2626b..48fb570 100644 --- a/src/day3.cpp +++ b/src/day3.cpp @@ -3,6 +3,7 @@ #include #include #include +#include bool is_symbol(char c) { return !std::isdigit(c) && (c != '.'); } diff --git a/src/day7.cpp b/src/day7.cpp index 726f36b..1ee8826 100644 --- a/src/day7.cpp +++ b/src/day7.cpp @@ -6,6 +6,7 @@ #include #include #include +#include enum Rank { None, FiveOfAKind, FourOfAKind, FullHouse, ThreeOfAKind, TwoPair, OnePair, HighCard };