diff options
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; }; |