lib/raweat.hpp: constructor: only start conversion for non-empty file names
This commit is contained in:
parent
c328bf6945
commit
956bf8ee58
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user