diff --git a/dbms/src/Common/HashTable/FixedClearableHashMap.h b/dbms/src/Common/HashTable/FixedClearableHashMap.h index 7f8f739893b..ab808b56f34 100644 --- a/dbms/src/Common/HashTable/FixedClearableHashMap.h +++ b/dbms/src/Common/HashTable/FixedClearableHashMap.h @@ -36,7 +36,6 @@ struct FixedClearableHashMapCell } Key key; FixedClearableHashMapCell * ptr; - Key & getFirstMutable() { return key; } const Key & getFirst() const { return key; } Mapped & getSecond() { return ptr->mapped; } const Mapped & getSecond() const { return *ptr->mapped; } diff --git a/dbms/src/Common/HashTable/FixedClearableHashSet.h b/dbms/src/Common/HashTable/FixedClearableHashSet.h index 915875ebda4..f22e41fcd4e 100644 --- a/dbms/src/Common/HashTable/FixedClearableHashSet.h +++ b/dbms/src/Common/HashTable/FixedClearableHashSet.h @@ -23,7 +23,6 @@ struct FixedClearableHashTableCell struct CellExt { Key key; - value_type & getValueMutable() { return key; } const value_type & getValue() const { return key; } void update(Key && key_, FixedClearableHashTableCell *) { key = key_; } }; diff --git a/dbms/src/Common/HashTable/FixedHashMap.h b/dbms/src/Common/HashTable/FixedHashMap.h index d50c87a6583..32a4fabea4d 100644 --- a/dbms/src/Common/HashTable/FixedHashMap.h +++ b/dbms/src/Common/HashTable/FixedHashMap.h @@ -39,7 +39,6 @@ struct FixedHashMapCell Key key; FixedHashMapCell * ptr; - Key & getFirstMutable() { return key; } const Key & getFirst() const { return key; } Mapped & getSecond() { return ptr->mapped; } const Mapped & getSecond() const { return ptr->mapped; } diff --git a/dbms/src/Common/HashTable/FixedHashTable.h b/dbms/src/Common/HashTable/FixedHashTable.h index 0ad56f354b9..b673dbcea8f 100644 --- a/dbms/src/Common/HashTable/FixedHashTable.h +++ b/dbms/src/Common/HashTable/FixedHashTable.h @@ -28,7 +28,6 @@ struct FixedHashTableCell { Key key; - value_type & getValueMutable() { return key; } const value_type & getValue() const { return key; } void update(Key && key_, FixedHashTableCell *) { key = key_; } }; diff --git a/dbms/src/Common/HashTable/HashMap.h b/dbms/src/Common/HashTable/HashMap.h index 98669619d3d..ebd7f4280a4 100644 --- a/dbms/src/Common/HashTable/HashMap.h +++ b/dbms/src/Common/HashTable/HashMap.h @@ -49,12 +49,10 @@ struct HashMapCell HashMapCell(const Key & key_, const State &) : value(key_, NoInitTag()) {} HashMapCell(const value_type & value_, const State &) : value(value_) {} - Key & getFirstMutable() { return value.first; } const Key & getFirst() const { return value.first; } Mapped & getSecond() { return value.second; } const Mapped & getSecond() const { return value.second; } - value_type & getValueMutable() { return value; } const value_type & getValue() const { return value; } static const Key & getKey(const value_type & value) { return value.first; } diff --git a/dbms/src/Common/HashTable/HashTable.h b/dbms/src/Common/HashTable/HashTable.h index 42d74210d4a..dadc73c3f44 100644 --- a/dbms/src/Common/HashTable/HashTable.h +++ b/dbms/src/Common/HashTable/HashTable.h @@ -98,7 +98,6 @@ struct HashTableCell HashTableCell(const Key & key_, const State &) : key(key_) {} /// Get what the value_type of the container will be. - value_type & getValueMutable() { return key; } const value_type & getValue() const { return key; } /// Get the key.