diff options
Diffstat (limited to 'utility.h')
-rw-r--r-- | utility.h | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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 |