diff --git a/src/servers/media/BufferManager.h b/src/servers/media/BufferManager.h index 91816b76f2..de31770745 100644 --- a/src/servers/media/BufferManager.h +++ b/src/servers/media/BufferManager.h @@ -60,47 +60,9 @@ private: std::set teams; }; - template struct id_hash { - id_hash() - : - fID(0) - { - } - - id_hash(Type id) - : - fID(id) - { - } - - id_hash(const id_hash& other) - { - fID = other.fID; - } - - uint32 GetHashCode() const - { - return fID; - } - - operator Type() const - { - return fID; - } - - id_hash& operator=(const id_hash& other) - { - fID = other.fID; - return *this; - } - - private: - Type fID; - }; - - typedef HashMap, buffer_info> BufferInfoMap; - typedef HashMap, clone_info> CloneInfoMap; - typedef HashMap, area_id> SourceInfoMap; + typedef HashMap, buffer_info> BufferInfoMap; + typedef HashMap, clone_info> CloneInfoMap; + typedef HashMap, area_id> SourceInfoMap; BPrivate::SharedBufferList* fSharedBufferList; area_id fSharedBufferListArea;