@@ -2361,8 +2361,7 @@ void config_parse_stl(std::string_view config_text, std::vector<std::pair<std::s
2361
2361
});
2362
2362
}
2363
2363
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) {
2366
2365
std::size_t pairs = 0 , bytes = 0 ;
2367
2366
std::vector<std::pair<std::string, std::string>> settings;
2368
2367
for (auto _ : state) {
@@ -2406,8 +2405,7 @@ void config_parse_ranges(std::string_view config_text, std::vector<std::pair<std
2406
2405
for (auto [key, value] : std::move (lines)) settings.emplace_back (key, value);
2407
2406
}
2408
2407
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) {
2411
2409
std::size_t pairs = 0 , bytes = 0 ;
2412
2410
std::vector<std::pair<std::string, std::string>> settings;
2413
2411
for (auto _ : state) {
@@ -2440,8 +2438,7 @@ void config_parse_sz(std::string_view config_text, std::vector<std::pair<std::st
2440
2438
}
2441
2439
}
2442
2440
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) {
2445
2442
std::size_t pairs = 0 , bytes = 0 ;
2446
2443
std::vector<std::pair<std::string, std::string>> settings;
2447
2444
for (auto _ : state) {
@@ -2554,8 +2551,7 @@ void config_parse_regex(std::string_view config_text, std::vector<std::pair<std:
2554
2551
}
2555
2552
}
2556
2553
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) {
2559
2555
std::size_t pairs = 0 , bytes = 0 ;
2560
2556
std::vector<std::pair<std::string, std::string>> settings;
2561
2557
@@ -2608,8 +2604,7 @@ void config_parse_ctre(std::string_view config_text, std::vector<std::pair<std::
2608
2604
}
2609
2605
}
2610
2606
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) {
2613
2608
std::size_t pairs = 0 , bytes = 0 ;
2614
2609
std::vector<std::pair<std::string, std::string>> settings;
2615
2610
@@ -2921,7 +2916,7 @@ template <template <typename> typename allocator_>
2921
2916
struct json_containers_for_alloc {
2922
2917
// Must allow `map<Key, Value, typename... Args>`, replaces `std::map`
2923
2918
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_>>>;
2925
2920
2926
2921
// Must allow `vector<Value, typename... Args>`, replaces `std::vector`
2927
2922
template <typename value_type_, typename ...>
0 commit comments