summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r--src/common/file_util.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h
index 5edb43f6a..0871734d4 100644
--- a/src/common/file_util.h
+++ b/src/common/file_util.h
@@ -2,9 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-
-#ifndef _FILEUTIL_H_
-#define _FILEUTIL_H_
+#pragma once
#include <fstream>
#include <cstdio>
@@ -220,5 +218,3 @@ void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmod
fstream.open(filename.c_str(), openmode);
#endif
}
-
-#endif