From 956bf8ee58518c11e27b876332d8c80fd0f9a720 Mon Sep 17 00:00:00 2001 From: Mario Fink Date: Fri, 14 Aug 2020 11:46:49 +0200 Subject: [PATCH] lib/raweat.hpp: constructor: only start conversion for non-empty file names --- lib/raweat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/raweat.hpp b/lib/raweat.hpp index dec0289..dce867b 100644 --- a/lib/raweat.hpp +++ b/lib/raweat.hpp @@ -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()