summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-19 20:41:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-19 20:42:21 +0300
commite9a5f03334b340ebd9e893874425f59ec6fe2f5d (patch)
treee6c9dd1da66fed0989000defc195a41e139ff156 /utils
parent39949927ef29ea8f4e06105b74d3e66b0fcbc244 (diff)
minor code cleaning
Diffstat (limited to 'utils')
-rw-r--r--utils/mir_signal.h1
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;
};