Skip to content

Commit

Permalink
Fix things messed up by formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed May 9, 2024
1 parent 1991723 commit ca7e81d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion tictactoe_cpp/include/tictactoe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ using TicTacToeBoard = GameBoard<3>;
// compiles and its result is convertible to std::size_t
// From: https://en.cppreference.com/w/cpp/language/constraints
template <typename T>
template <typename T>
concept Hashable = requires(T a) {
{ std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
}; // NOLINT [readability/braces]
Expand Down
6 changes: 4 additions & 2 deletions tictactoe_cpp/src/tictactoe.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
// Copyright 2022-2024 Jan-Eric Nitschke. All rights reserved.

#include <Random.hpp>
#include <tictactoe.hpp>

#include <algorithm>
#include <chrono> // NOLINT [build/c++11]
#include <iostream>
#include <string>
#include <string_view>
#include <tictactoe.hpp>
#include <tuple>
#include <unordered_map>
#include <vector>

#include <Random.hpp>

std::ostream &operator<<(std::ostream &os, const GameState &obj) {
os << static_cast<std::underlying_type<GameState>::type>(obj);
return os;
Expand Down

0 comments on commit ca7e81d

Please sign in to comment.