diff options
| author | Stefan Boberg <[email protected]> | 2024-01-31 15:55:45 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-31 15:55:45 +0100 |
| commit | 8cb2b93f31c59b3261951a70c48e5da548194002 (patch) | |
| tree | b4e981b148e2cb1c31ade0fcabb1901caf13ae6b /src/zencore/include | |
| parent | only try to traverse an objectstore bucket if it really exists (#646) (diff) | |
| download | zen-8cb2b93f31c59b3261951a70c48e5da548194002.tar.xz zen-8cb2b93f31c59b3261951a70c48e5da548194002.zip | |
changed RPC recording to MPSC setup (#638)
fixes rare race condition when using RPC recording for long periods of time
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/iobuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/include/zencore/iobuffer.h b/src/zencore/include/zencore/iobuffer.h index b9e503354..dcf1b4db8 100644 --- a/src/zencore/include/zencore/iobuffer.h +++ b/src/zencore/include/zencore/iobuffer.h @@ -379,7 +379,7 @@ public: inline explicit operator bool() const { return !m_Core->IsNull(); } inline operator MemoryView() const& { return MemoryView(m_Core->DataPointer(), m_Core->DataBytes()); } - inline void MakeOwned() { return m_Core->MakeOwned(); } + inline void MakeOwned() const { return m_Core->MakeOwned(); } [[nodiscard]] inline bool IsOwned() const { return m_Core->IsOwned(); } [[nodiscard]] inline bool IsWholeFile() const { return m_Core->IsWholeFile(); } [[nodiscard]] void* MutableData() const { return m_Core->MutableDataPointer(); } |