summaryrefslogtreecommitdiff
path: root/utils/mir_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mir_signal.h')
-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;
};