diff options
| author | Henny022p <info@henny022.de> | 2021-11-23 09:31:09 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2021-11-23 09:31:09 +0100 |
| commit | dee773da4a12af1c48bf58d6275fe4fed20871b6 (patch) | |
| tree | 95b99e35c56c3d92a48f3becd484028a2a0fc745 /tools/src/preproc/string_parser.h | |
| parent | 5f41468ba85deca14747b9dd23ca7a1cf6bdd2a4 (diff) | |
apply clang-format to tool sources
Diffstat (limited to 'tools/src/preproc/string_parser.h')
| -rw-r--r--[-rwxr-xr-x] | tools/src/preproc/string_parser.h | 15 |
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; }; |
