diff --git a/.github/workflows/cpp.yaml b/.github/workflows/cpp.yaml index 813b991..9919294 100644 --- a/.github/workflows/cpp.yaml +++ b/.github/workflows/cpp.yaml @@ -20,7 +20,7 @@ jobs: - name: Lint with cpplint run: | pip install cpplint - cpplint */*.cpp */*.h + cpplint */*.cpp */*.hpp - name: Prepare cmake run: | cmake -S . -B build diff --git a/tictactoe_cpp/src/tictactoe.cpp b/tictactoe_cpp/src/tictactoe.cpp index 3d21884..43eeb4f 100644 --- a/tictactoe_cpp/src/tictactoe.cpp +++ b/tictactoe_cpp/src/tictactoe.cpp @@ -1,6 +1,5 @@ // Copyright 2022-2024 Jan-Eric Nitschke. All rights reserved. -#include #include #include @@ -12,6 +11,8 @@ #include #include +#include + std::ostream &operator<<(std::ostream &os, const GameState &obj) { os << static_cast::type>(obj); return os;