From 78c640edd92bc7d78b99778aa022199bcfaf5fd2 Mon Sep 17 00:00:00 2001 From: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com> Date: Fri, 12 Apr 2024 23:05:06 +0200 Subject: [PATCH] Another attempt at reordering headers --- .github/workflows/cpp.yaml | 2 +- tictactoe_cpp/src/tictactoe.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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;