lib/raweat.hpp: constructor: only start conversion for non-empty file names

This commit is contained in:
Mario Fink 2020-08-14 11:46:49 +02:00
parent c328bf6945
commit 956bf8ee58

View File

@ -80,7 +80,7 @@ public:
raw_eater(std::string rawfile, bool showlog = false) : rawfile_(rawfile)
{
// trigger setup and conversion
this->setup_and_conversion(showlog);
if ( ! rawfile.empty() ) this->setup_and_conversion(showlog);
}
raw_eater()