void addStrings (std::string const& name, std::vector <std::string> const& strings) { if (strings.empty ()) { m_journal.debug << "Static source '" << name << "' is empty."; return; } addStaticSource (SourceStrings::New (name, strings)); }
void addStrings (String name, StringArray const& stringArray) { if (stringArray.size() > 0) { addStaticSource (SourceStrings::New (name, stringArray)); } else { m_journal.debug << "Static source '" << name << "' is empty."; } }
void addFile (beast::File const& file) { addStaticSource (SourceFile::New (file)); }