summaryrefslogtreecommitdiff
path: root/src/profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiler.h')
-rw-r--r--src/profiler.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/profiler.h b/src/profiler.h
index cade887e8..fade4c924 100644
--- a/src/profiler.h
+++ b/src/profiler.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef PROFILER_HEADER
-#define PROFILER_HEADER
+#pragma once
#include "irrlichttypes.h"
#include <string>
@@ -198,6 +197,3 @@ private:
TimeTaker *m_timer = nullptr;
enum ScopeProfilerType m_type;
};
-
-#endif
-