summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-23 18:34:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-23 18:34:28 +0300
commit8318809aa0961802fd12438330051d3ba91eb6c4 (patch)
treec5557112a1a8706dda02949495b74c77ef18194e /include
parent2b49ffbabfb41a50a764cf666f9de226e89da856 (diff)
fix for function prototypes
Diffstat (limited to 'include')
-rw-r--r--include/m_system.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_system.h b/include/m_system.h
index e4b7e865b5..73b0544554 100644
--- a/include/m_system.h
+++ b/include/m_system.h
@@ -482,13 +482,13 @@ public:
__forceinline size_t length() const { return m_len; }
// adds a buffer to the end
- void append(void *pBuf, size_t bufLen);
+ void append(const void *pBuf, size_t bufLen);
// adds a buffer to the beginning
- void appendBefore(void *pBuf, size_t bufLen);
+ void appendBefore(const void *pBuf, size_t bufLen);
// replaces buffer contents
- void assign(void *pBuf, size_t bufLen);
+ void assign(const void *pBuf, size_t bufLen);
// drops a part of buffer
void remove(size_t sz);