From fd0d4c8dc8ec8414f3f3aa7e5294f15a94782209 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Tue, 27 Oct 2020 10:03:04 +0100 Subject: [PATCH] Now using std::optional --- src/AsyncHTTPRequest.cpp | 2 +- src/AsyncHTTPRequest.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AsyncHTTPRequest.cpp b/src/AsyncHTTPRequest.cpp index 2d69f20..5b11ccb 100644 --- a/src/AsyncHTTPRequest.cpp +++ b/src/AsyncHTTPRequest.cpp @@ -58,7 +58,7 @@ private: } -tl::optional parseURL(const String &url) +std::optional parseURL(const String &url) { int hostBeg = 0; URL _URL; diff --git a/src/AsyncHTTPRequest.h b/src/AsyncHTTPRequest.h index 5b72f2a..7f1f516 100644 --- a/src/AsyncHTTPRequest.h +++ b/src/AsyncHTTPRequest.h @@ -31,7 +31,7 @@ #include #include -#include +#include #include "AsyncHTTPRequest_Debug.h" @@ -177,7 +177,7 @@ struct URL } }; -tl::optional parseURL(const String &url); +std::optional parseURL(const String &url); class AsyncHTTPRequest {