summaryrefslogtreecommitdiffstats
path: root/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'utility.h')
-rw-r--r--utility.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/utility.h b/utility.h
index bb2b623..32120cb 100644
--- a/utility.h
+++ b/utility.h
@@ -1,10 +1,4 @@
-//
-// Created by lag1924 on 24.03.17.
-//
-
-#ifndef PROJECT_UTILITY_H
-#define PROJECT_UTILITY_H
-
+#pragma once
#include <algorithm>
int VarIntRead(unsigned char *data, size_t &readed);
@@ -19,6 +13,4 @@ template<class T>
void endswap(T *objp) {
unsigned char *memp = reinterpret_cast<unsigned char *>(objp);
std::reverse(memp, memp + sizeof(T));
-}
-
-#endif //PROJECT_UTILITY_H
+} \ No newline at end of file