Don't hard-code references to the global config in the

updateConfigForFilename() methods.
This commit is contained in:
David Given
2021-05-18 19:57:23 +02:00
parent 2c98f5c542
commit 05aaa2634b
12 changed files with 41 additions and 45 deletions

View File

@@ -29,7 +29,7 @@ private:
public:
static std::unique_ptr<FluxSource> create(const FluxSourceProto& spec);
static void updateConfigForFilename(const std::string& filename);
static void updateConfigForFilename(FluxSourceProto* proto, const std::string& filename);
public:
virtual std::unique_ptr<Fluxmap> readFlux(int track, int side) = 0;