From 2d24494031316bdbed149b931ddfc122ff8e9660 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 14 Apr 2022 00:19:55 +0200 Subject: Add accessor for use with things like fprintf(). --- src/file.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/file.h') 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; -- cgit v1.2.3