summaryrefslogtreecommitdiff
path: root/src/common/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/file.cpp')
-rw-r--r--src/common/file.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/file.cpp b/src/common/file.cpp
index a9d8c2b..626f352 100644
--- a/src/common/file.cpp
+++ b/src/common/file.cpp
@@ -3,11 +3,9 @@
#include <sys/stat.h>
#include <fcntl.h>
-class File {
+struct File {
int descriptor;
- public:
-
File(const char *filepath, int flags) {
descriptor = open(filepath, flags);
}