summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index 26d0704a..ec13fc82 100644
--- a/src/file.h
+++ b/src/file.h
@@ -91,6 +91,10 @@ public:
*/
FILE* take();
+ FILE* get() {
+ return _file;
+ }
+
private:
boost::filesystem::path _path;
FILE* _file = nullptr;