diff --git a/CMakeLists.txt b/CMakeLists.txt index 6be3f74..feefa0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(BINARY_NAME minetcore) set(CMAKE_CXX_STANDARD 17) project(${PROJECT_NAME} - VERSION 0.1.0 + VERSION 1.0.1 DESCRIPTION "A mini HTTP server library with C++" LANGUAGES CXX) diff --git a/include/minet/core/HttpContext.h b/include/minet/core/HttpContext.h index b5050f8..5b82fcb 100644 --- a/include/minet/core/HttpContext.h +++ b/include/minet/core/HttpContext.h @@ -9,8 +9,6 @@ #include "minet/utils/Parser.h" -#include "io/StreamReader.h" - #include #include @@ -19,6 +17,7 @@ MINET_BEGIN namespace io { class Stream; +class StreamReader; } namespace network diff --git a/src/core/HttpContext.cpp b/src/core/HttpContext.cpp index 863c96b..be819d7 100644 --- a/src/core/HttpContext.cpp +++ b/src/core/HttpContext.cpp @@ -3,6 +3,7 @@ #include "minet/common/Http.h" #include "io/Stream.h" +#include "io/StreamReader.h" #include "utils/Network.h" #include diff --git a/tests/AsyncParserTest.cpp b/tests/AsyncParserTest.cpp index 81f5ba1..4a2fb61 100644 --- a/tests/AsyncParserTest.cpp +++ b/tests/AsyncParserTest.cpp @@ -2,7 +2,7 @@ #include "minet/utils/Parser.h" -#include "io/Stream.h" +#include "io/StreamReader.h" #include "doctest.h"