diff options
Diffstat (limited to 'rdbmaker/inc/codemaker/typemanager.hxx')
-rw-r--r-- | rdbmaker/inc/codemaker/typemanager.hxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/rdbmaker/inc/codemaker/typemanager.hxx b/rdbmaker/inc/codemaker/typemanager.hxx index a776865e677f..b651e9baa0ca 100644 --- a/rdbmaker/inc/codemaker/typemanager.hxx +++ b/rdbmaker/inc/codemaker/typemanager.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -24,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_ @@ -32,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 { @@ -170,3 +160,5 @@ protected: }; #endif // _CODEMAKER_TYPEMANAGER_HXX_ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |