diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/cycles/util/util_md5.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'intern/cycles/util/util_md5.h')
-rw-r--r-- | intern/cycles/util/util_md5.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/intern/cycles/util/util_md5.h b/intern/cycles/util/util_md5.h index f8c0115d8ce..4622945f9d2 100644 --- a/intern/cycles/util/util_md5.h +++ b/intern/cycles/util/util_md5.h @@ -36,26 +36,26 @@ CCL_NAMESPACE_BEGIN class MD5Hash { -public: - MD5Hash(); - ~MD5Hash(); - - void append(const uint8_t *data, int size); - void append(const string& str); - bool append_file(const string& filepath); - string get_hex(); - -protected: - void process(const uint8_t *data); - void finish(uint8_t digest[16]); - - uint32_t count[2]; /* message length in bits, lsw first */ - uint32_t abcd[4]; /* digest buffer */ - uint8_t buf[64]; /* accumulate block */ + public: + MD5Hash(); + ~MD5Hash(); + + void append(const uint8_t *data, int size); + void append(const string &str); + bool append_file(const string &filepath); + string get_hex(); + + protected: + void process(const uint8_t *data); + void finish(uint8_t digest[16]); + + uint32_t count[2]; /* message length in bits, lsw first */ + uint32_t abcd[4]; /* digest buffer */ + uint8_t buf[64]; /* accumulate block */ }; -string util_md5_string(const string& str); +string util_md5_string(const string &str); CCL_NAMESPACE_END -#endif /* __UTIL_MD5_H__ */ +#endif /* __UTIL_MD5_H__ */ |