diff options
Diffstat (limited to '')
-rw-r--r-- | src/ChunkDef.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h index 9e97d53fc..673ae347a 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -98,33 +98,6 @@ public: -/** Non-owning view of a chunk's client handles. */ -class cChunkClientHandles -{ -public: - using const_iterator = std::vector<cClientHandle *>::const_iterator; - using iterator = const_iterator; - - explicit cChunkClientHandles(const std::vector<cClientHandle *> & a_Container): - m_Begin(a_Container.cbegin()), - m_End(a_Container.cend()) - { - } - - const_iterator begin() const { return m_Begin; } - const_iterator cbegin() const { return m_Begin; } - - const_iterator end() const { return m_End; } - const_iterator cend() const { return m_End; } - -private: - const_iterator m_Begin, m_End; -}; - - - - - /** Constants used throughout the code, useful typedefs and utility functions */ class cChunkDef { |