Don't crash when trying to read flux from a fl2 file where there isn't any

flux.
This commit is contained in:
David Given
2022-01-26 22:09:50 +01:00
parent d2a6b37f5f
commit 9bb6e15900

View File

@@ -31,7 +31,7 @@ public:
return std::make_unique<Fluxmap>(track.flux());
}
return std::unique_ptr<Fluxmap>();
return std::make_unique<Fluxmap>();
}
void recalibrate() {}