From 2a4ff7346813b120f2b5b40e95d69352b593cc9c Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Mon, 10 Jun 2024 16:29:25 +0200 Subject: [PATCH] update string_view lite to version 1.8.0 (#2197) This is the header as seen for the tag v1.8.0, commit a47222b9855dd6e6d1eac38acaa495822e2caa69, on . --- include/simdjson/nonstd/string_view.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/simdjson/nonstd/string_view.hpp b/include/simdjson/nonstd/string_view.hpp index e6cea1769..9c9159b11 100644 --- a/include/simdjson/nonstd/string_view.hpp +++ b/include/simdjson/nonstd/string_view.hpp @@ -6,13 +6,13 @@ // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// #pragma once // We remove #pragma once here as it generates a warning in some cases. We rely on the include guard. +#pragma once #ifndef NONSTD_SV_LITE_H_INCLUDED #define NONSTD_SV_LITE_H_INCLUDED #define string_view_lite_MAJOR 1 -#define string_view_lite_MINOR 7 +#define string_view_lite_MINOR 8 #define string_view_lite_PATCH 0 #define string_view_lite_VERSION nssv_STRINGIFY(string_view_lite_MAJOR) "." nssv_STRINGIFY(string_view_lite_MINOR) "." nssv_STRINGIFY(string_view_lite_PATCH) @@ -134,6 +134,8 @@ #if nssv_CONFIG_CONVERSION_STD_STRING_FREE_FUNCTIONS +#include + namespace nonstd { template< class CharT, class Traits, class Allocator = std::allocator >