diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-19 20:41:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-19 20:42:21 +0300 |
commit | e9a5f03334b340ebd9e893874425f59ec6fe2f5d (patch) | |
tree | e6c9dd1da66fed0989000defc195a41e139ff156 /utils | |
parent | 39949927ef29ea8f4e06105b74d3e66b0fcbc244 (diff) |
minor code cleaning
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mir_signal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/mir_signal.h b/utils/mir_signal.h index 313714edac..95281e745c 100644 --- a/utils/mir_signal.h +++ b/utils/mir_signal.h @@ -53,6 +53,7 @@ public: __forceinline operator bool() const { return m_buf != nullptr; } __forceinline uint8_t* data() const { return m_buf->data; } __forceinline unsigned len() const { return unsigned(m_buf->len); } + __forceinline void reset(size_t len) { m_buf->len = len; } CMStringA toBase64() const; }; |