summaryrefslogtreecommitdiff
path: root/tools/src/preproc/string_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/preproc/string_parser.h')
-rw-r--r--[-rwxr-xr-x]tools/src/preproc/string_parser.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/tools/src/preproc/string_parser.h b/tools/src/preproc/string_parser.h
index abd2bfe9..2e212640 100755..100644
--- a/tools/src/preproc/string_parser.h
+++ b/tools/src/preproc/string_parser.h
@@ -25,15 +25,14 @@
#include <string>
#include "preproc.h"
-class StringParser
-{
-public:
- StringParser(char* buffer, long size) : m_buffer(buffer), m_size(size), m_pos(0) {}
- int ParseString(long srcPos, unsigned char* dest, int &destLength);
+class StringParser {
+ public:
+ StringParser(char* buffer, long size) : m_buffer(buffer), m_size(size), m_pos(0) {
+ }
+ int ParseString(long srcPos, unsigned char* dest, int& destLength);
-private:
- struct Integer
- {
+ private:
+ struct Integer {
std::uint32_t value;
int size;
};