From 214dc602324893a5be46cad86785c7fbb87f80ae Mon Sep 17 00:00:00 2001 From: Gary Linscott Date: Tue, 17 Apr 2018 22:26:43 -0700 Subject: [PATCH] Fix makefile and warning --- src/Makefile | 2 +- src/UCI.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index d0368635c..fad0b6cd4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -51,7 +51,7 @@ CPPFLAGS += -MD -MP sources = Network.cpp Training.cpp UCTSearch.cpp Utils.cpp Random.cpp Parameters.cpp \ UCTNode.cpp OpenCL.cpp Timing.cpp main.cpp Tuner.cpp \ Bitboard.cpp Movegen.cpp Position.cpp UCI.cpp pgn.cpp SMP.cpp OpenCLScheduler.cpp \ - NNCache.cpp TimeMan.cpp + NNCache.cpp TimeMan.cpp UCIOption.cpp objects = $(sources:.cpp=.o) deps = $(sources:%.cpp=%.d) diff --git a/src/UCI.h b/src/UCI.h index 1192de61e..cc269f14b 100644 --- a/src/UCI.h +++ b/src/UCI.h @@ -27,7 +27,7 @@ #include "Types.h" class Position; -class BoardHistory; +struct BoardHistory; namespace UCI {