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:
@@ -102,7 +102,7 @@ void FluxSource::updateConfigForFilename(
|
||||
[](auto& s, auto* proto)
|
||||
{
|
||||
proto->set_type(FluxSourceProto::DRIVE);
|
||||
globalConfig().mutable_drive()->set_drive(std::stoi(s));
|
||||
globalConfig()->mutable_drive()->set_drive(std::stoi(s));
|
||||
}},
|
||||
{std::regex("^flx:(.*)$"),
|
||||
[](auto& s, auto* proto)
|
||||
|
||||
Reference in New Issue
Block a user