diff options
Diffstat (limited to 'lib/interfaces/hashedstring.cpp')
-rw-r--r-- | lib/interfaces/hashedstring.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/interfaces/hashedstring.cpp b/lib/interfaces/hashedstring.cpp index 8392e271..820dba04 100644 --- a/lib/interfaces/hashedstring.cpp +++ b/lib/interfaces/hashedstring.cpp @@ -60,7 +60,7 @@ void HashedString::initHash() { } -class HashedStringSetData : public KShared { +class HashedStringSetData : public TDEShared { public: #ifdef USE_HASHMAP typedef __gnu_cxx::hash_set<HashedString> StringSet; @@ -121,7 +121,7 @@ HashedStringSet& HashedStringSet::operator +=( const HashedStringSet& rhs ) { return * this; #ifndef USE_HASHMAP - KSharedPtr<HashedStringSetData> oldData = m_data; + TDESharedPtr<HashedStringSetData> oldData = m_data; if( !oldData ) oldData = new HashedStringSetData(); m_data = new HashedStringSetData(); std::set_union( oldData->m_files.begin(), oldData->m_files.end(), rhs.m_data->m_files.begin(), rhs.m_data->m_files.end(), std::insert_iterator<HashedStringSetData::StringSet>( m_data->m_files, m_data->m_files.end() ) ); @@ -142,7 +142,7 @@ HashedStringSet& HashedStringSet::operator -=( const HashedStringSet& rhs ) { if( !m_data ) return *this; if( !rhs.m_data ) return *this; #ifndef USE_HASHMAP - KSharedPtr<HashedStringSetData> oldData = m_data; + TDESharedPtr<HashedStringSetData> oldData = m_data; m_data = new HashedStringSetData(); std::set_difference( oldData->m_files.begin(), oldData->m_files.end(), rhs.m_data->m_files.begin(), rhs.m_data->m_files.end(), std::insert_iterator<HashedStringSetData::StringSet>( m_data->m_files, m_data->m_files.end() ) ); #else @@ -164,7 +164,7 @@ void HashedStringSet::makeDataPrivate() { m_data = new HashedStringSetData(); return ; } - if ( m_data->_KShared_count() != 1 ) + if ( m_data->_TDEShared_count() != 1 ) m_data = new HashedStringSetData( *m_data ); } |