diff --git a/Framework/API/inc/MantidAPI/FileFinder.h b/Framework/API/inc/MantidAPI/FileFinder.h index 7ec66acdb8d08b49d031187b2801b24715f22063..1c5bb1f8f4dd2895b3e3364fcf1fc4c27ab6b490 100644 --- a/Framework/API/inc/MantidAPI/FileFinder.h +++ b/Framework/API/inc/MantidAPI/FileFinder.h @@ -48,14 +48,12 @@ public: bool getCaseSensitive() const; std::vector<IArchiveSearch_sptr> getArchiveSearch(const Kernel::FacilityInfo &facility) const; - std::string - findRun(const std::string &hintstr, - const std::vector<std::string> &exts = std::vector<std::string>(), - const bool useExtsOnly = false) const; - std::vector<std::string> - findRuns(const std::string &hintstr, - const std::vector<std::string> &exts = std::vector<std::string>(), - const bool useExtsOnly = false) const; + std::string findRun(const std::string &hintstr, + const std::vector<std::string> &exts, + const bool useExtsOnly = false) const; + std::vector<std::string> findRuns(const std::string &hintstr, + const std::vector<std::string> &exts = {}, + const bool useExtsOnly = false) const; /// DO NOT USE! MADE PUBLIC FOR TESTING ONLY. const Kernel::InstrumentInfo getInstrument(const std::string &hint) const; /// DO NOT USE! MADE PUBLIC FOR TESTING ONLY.