summaryrefslogtreecommitdiffhomepage
path: root/libcommon/tempfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/tempfile.h')
-rw-r--r--libcommon/tempfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcommon/tempfile.h b/libcommon/tempfile.h
index 5938fb9..b9839a7 100644
--- a/libcommon/tempfile.h
+++ b/libcommon/tempfile.h
@@ -9,7 +9,8 @@ class Tempfile
public:
std::filesystem::path GetPath() const;
- Tempfile();
+ // extension: e.g. ".zip"
+ Tempfile(const std::filesystem::path& extension = std::filesystem::path{});
~Tempfile();
};