mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 74d9f4bd95 into merged_master (Bitcoin PR bitcoin/bitcoin#25068)
This commit is contained in:
commit
fcd2946158
8 changed files with 22 additions and 19 deletions
|
|
@ -5,11 +5,11 @@
|
|||
#ifndef BITCOIN_UTIL_STRING_H
|
||||
#define BITCOIN_UTIL_STRING_H
|
||||
|
||||
#include <attributes.h>
|
||||
#include <util/spanparsing.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
|
|
@ -18,6 +18,8 @@
|
|||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
void ReplaceAll(std::string& in_out, std::string_view search, std::string_view substitute);
|
||||
|
||||
[[nodiscard]] inline std::vector<std::string> SplitString(std::string_view str, char sep)
|
||||
{
|
||||
return spanparsing::Split<std::string>(str, sep);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue