diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-02-03 15:36:13 -0700 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-03 23:39:38 +0100 |
commit | e309a0b2ac0ff4815f2fe51714e737d90c3e1ca0 (patch) | |
tree | 926ce6556536ba8ebc7cc86a8166c4a3b3f2bd04 /rdbmaker/inc/codemaker/typemanager.hxx | |
parent | 789556321603077e6fc8ee9036f78f9eb941d8ba (diff) |
move module rdbmaker to boost unordered containers
Diffstat (limited to 'rdbmaker/inc/codemaker/typemanager.hxx')
-rw-r--r-- | rdbmaker/inc/codemaker/typemanager.hxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/rdbmaker/inc/codemaker/typemanager.hxx b/rdbmaker/inc/codemaker/typemanager.hxx index 2abfeacedc78..b651e9baa0ca 100644 --- a/rdbmaker/inc/codemaker/typemanager.hxx +++ b/rdbmaker/inc/codemaker/typemanager.hxx @@ -25,7 +25,7 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#include <hash_map> +#include <boost/unordered_map.hpp> #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #define _CODEMAKER_TYPEMANAGER_HXX_ @@ -33,24 +33,13 @@ typedef ::std::list< Registry* > RegistryList; -#if defined( _MSC_VER ) && ( _MSC_VER < 1200 ) -typedef ::std::__hash_map__ -< - ::rtl::OString, // Typename - RTTypeClass, // TypeClass - HashString, - EqualString, - NewAlloc -> T2TypeClassMap; -#else -typedef ::std::hash_map +typedef ::boost::unordered_map < ::rtl::OString, // Typename RTTypeClass, // TypeClass HashString, EqualString > T2TypeClassMap; -#endif struct TypeManagerImpl { |