Fix standalone compilation error with std::string_view

fixes #1913
This commit is contained in:
Richard Hodges committed 2020-04-30 21:00:00 +02:00
1 parent e5c48d4f0d
commit fda558e034
6 files changed
+25 -6

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ add_executable (tests-beast-http
empty_body.cpp
error.cpp
field.cpp
field_compiles.cpp
fields.cpp
file_body.cpp
message.cpp
+1
View File
@@ -16,6 +16,7 @@ local SOURCES =
dynamic_body.cpp
error.cpp
field.cpp
field_compiles.cpp
fields.cpp
file_body.cpp
message.cpp
+11
View File
@@ -0,0 +1,11 @@
//
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header file is self-contained.
#include <boost/beast/http/field.hpp>