Commit 7b01c10f authored by Simon Spannagel's avatar Simon Spannagel
Browse files

COnfiguration: return config fike path as std::filesystem::path

parent 625d4025
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ unsigned int Configuration::count(std::initializer_list<std::string> keys) const
std::string Configuration::getName() const {
    return name_;
}
std::string Configuration::getFilePath() const {
std::filesystem::path Configuration::getFilePath() const {
    return path_;
}

+1 −2
Original line number Diff line number Diff line
@@ -294,8 +294,7 @@ namespace allpix {
         * @return Absolute path to configuration file or empty if not linked to a file
         * @warning Parameter should be used with care as not all configurations are required to have a file
         */
        // TODO [doc] Fix name clash with getPath
        std::string getFilePath() const;
        std::filesystem::path getFilePath() const;

        /**
         * @brief Merge other configuration, only adding keys that are not yet defined in this configuration