mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Migrate to a new global config object.
This commit is contained in:
@@ -19,9 +19,9 @@ static std::string cleanup(const std::string& s)
|
||||
|
||||
static void load_config(const std::string s)
|
||||
{
|
||||
globalConfig().Clear();
|
||||
globalConfig()->Clear();
|
||||
if (!google::protobuf::TextFormat::MergeFromString(
|
||||
cleanup(s), &globalConfig()))
|
||||
cleanup(s), globalConfig()))
|
||||
error("couldn't load test config");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user