Finish NodeStore import config, add ephemeral db to unit tests

This commit is contained in:
Vinnie Falco
2013-07-23 09:13:21 -07:00
parent 02e55f9794
commit 58025fb8ef
16 changed files with 406 additions and 261 deletions

View File

@@ -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)
{