summaryrefslogtreecommitdiffhomepage
path: root/tempfile.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-04 15:16:36 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-04 15:16:36 +0100
commit5c330068e75946286e8e0d3dc0bd381e419074a9 (patch)
tree597a180b2b623e70af18bd80e380b2ce650b27d8 /tempfile.cpp
parent17d2d6e657cb25260ed9cc329678ecf227191978 (diff)
Namespaces for API
Diffstat (limited to 'tempfile.cpp')
-rw-r--r--tempfile.cpp6
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);