mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Finish NodeStore import config, add ephemeral db to unit tests
This commit is contained in:
@@ -128,15 +128,18 @@ bool SectionSingleB (Section& secSource, const std::string& strSection, std::str
|
||||
return bSingle;
|
||||
}
|
||||
|
||||
StringPairArray parseKeyValueSection (Section& secSource, std::string const& strSection)
|
||||
StringPairArray parseKeyValueSection (Section& secSource, String const& strSection)
|
||||
{
|
||||
StringPairArray result;
|
||||
|
||||
int const count = SectionCount (secSource, strSection);
|
||||
// yuck.
|
||||
std::string const stdStrSection (strSection.toStdString ());
|
||||
|
||||
int const count = SectionCount (secSource, stdStrSection);
|
||||
|
||||
typedef Section::mapped_type Entries;
|
||||
|
||||
Entries* const entries = SectionEntries (secSource, strSection);
|
||||
Entries* const entries = SectionEntries (secSource, stdStrSection);
|
||||
|
||||
if (entries != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user