diff options
Diffstat (limited to 'tempfile.cpp')
-rw-r--r-- | tempfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tempfile.cpp b/tempfile.cpp index f425db2..ca87d9b 100644 --- a/tempfile.cpp +++ b/tempfile.cpp @@ -9,12 +9,12 @@ namespace fs = std::filesystem; using namespace std::string_literals; -fs::path Tempfile::GetPath() const +fs::path Reichwein::Tempfile::GetPath() const { return m_path; } -Tempfile::Tempfile(const std::filesystem::path& extension) +Reichwein::Tempfile::Tempfile(const std::filesystem::path& extension) { try { fs::path path { fs::temp_directory_path() / "tempfileXXXXXX"}; @@ -32,7 +32,7 @@ Tempfile::Tempfile(const std::filesystem::path& extension) } } -Tempfile::~Tempfile() +Reichwein::Tempfile::~Tempfile() { try { fs::remove_all(m_path); |