summaryrefslogtreecommitdiff
path: root/rsc/source/tools/rschash.cxx
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2011-02-03 16:55:17 -0700
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-04 01:10:15 +0100
commite99fcbe58ef7533da06ee4658a4ee2cde4df58ea (patch)
tree2dffe52eb92af74244d25f19613b1af187d9eab7 /rsc/source/tools/rschash.cxx
parentfad7c8f3e0d0518b1a6411d53d5d0a3a43adf119 (diff)
Bulk move libs-gui to boost unordered containers
Diffstat (limited to 'rsc/source/tools/rschash.cxx')
-rw-r--r--rsc/source/tools/rschash.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/tools/rschash.cxx b/rsc/source/tools/rschash.cxx
index ad496dfb3753..2acf6f15e376 100644
--- a/rsc/source/tools/rschash.cxx
+++ b/rsc/source/tools/rschash.cxx
@@ -46,7 +46,7 @@ AtomContainer::~AtomContainer()
Atom AtomContainer::getID( const OString& rStr, bool bOnlyIfExists )
{
OString aKey = rStr.toAsciiLowerCase();
- std::hash_map< OString, Atom, OStringHash >::const_iterator it =
+ boost::unordered_map< OString, Atom, OStringHash >::const_iterator it =
m_aStringToID.find( aKey );
if( it != m_aStringToID.end() )
return it->second;
@@ -63,7 +63,7 @@ Atom AtomContainer::getID( const OString& rStr, bool bOnlyIfExists )
const OString& AtomContainer::getString( Atom nAtom )
{
- std::hash_map< Atom, OString >::const_iterator it =
+ boost::unordered_map< Atom, OString >::const_iterator it =
m_aIDToString.find( nAtom );
return (it != m_aIDToString.end()) ? it->second : m_aIDToString[0];
}