@@ -2361,8 +2361,7 @@ void config_parse_stl(std::string_view config_text, std::vector<std::pair<std::s
23612361 });
23622362}
23632363
2364- template <typename string_view_>
2365- void parse_stl (bm::State &state, string_view_ config_text) {
2364+ void parse_stl (bm::State &state, std::string_view config_text) {
23662365 std::size_t pairs = 0 , bytes = 0 ;
23672366 std::vector<std::pair<std::string, std::string>> settings;
23682367 for (auto _ : state) {
@@ -2406,8 +2405,7 @@ void config_parse_ranges(std::string_view config_text, std::vector<std::pair<std
24062405 for (auto [key, value] : std::move (lines)) settings.emplace_back (key, value);
24072406}
24082407
2409- template <typename string_view_>
2410- void parse_ranges (bm::State &state, string_view_ config_text) {
2408+ void parse_ranges (bm::State &state, std::string_view config_text) {
24112409 std::size_t pairs = 0 , bytes = 0 ;
24122410 std::vector<std::pair<std::string, std::string>> settings;
24132411 for (auto _ : state) {
@@ -2440,8 +2438,7 @@ void config_parse_sz(std::string_view config_text, std::vector<std::pair<std::st
24402438 }
24412439}
24422440
2443- template <typename string_view_>
2444- void parse_sz (bm::State &state, string_view_ config_text) {
2441+ void parse_sz (bm::State &state, std::string_view config_text) {
24452442 std::size_t pairs = 0 , bytes = 0 ;
24462443 std::vector<std::pair<std::string, std::string>> settings;
24472444 for (auto _ : state) {
@@ -2554,8 +2551,7 @@ void config_parse_regex(std::string_view config_text, std::vector<std::pair<std:
25542551 }
25552552}
25562553
2557- template <typename string_view_>
2558- void parse_regex (bm::State &state, string_view_ config_text) {
2554+ void parse_regex (bm::State &state, std::string_view config_text) {
25592555 std::size_t pairs = 0 , bytes = 0 ;
25602556 std::vector<std::pair<std::string, std::string>> settings;
25612557
@@ -2608,8 +2604,7 @@ void config_parse_ctre(std::string_view config_text, std::vector<std::pair<std::
26082604 }
26092605}
26102606
2611- template <typename string_view_>
2612- void parse_ctre (bm::State &state, string_view_ config_text) {
2607+ void parse_ctre (bm::State &state, std::string_view config_text) {
26132608 std::size_t pairs = 0 , bytes = 0 ;
26142609 std::vector<std::pair<std::string, std::string>> settings;
26152610
@@ -2921,7 +2916,7 @@ template <template <typename> typename allocator_>
29212916struct json_containers_for_alloc {
29222917 // Must allow `map<Key, Value, typename... Args>`, replaces `std::map`
29232918 template <typename key_type_, typename value_type_, typename ...>
2924- using object = std::map<key_type_, value_type_, std::less<>, allocator_<std::pair<const key_type_, value_type_>>>;
2919+ using object = std::map<key_type_, value_type_, std::less<>, allocator_<std::pair<key_type_ const , value_type_>>>;
29252920
29262921 // Must allow `vector<Value, typename... Args>`, replaces `std::vector`
29272922 template <typename value_type_, typename ...>
0 commit comments