From fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 1 Jan 2015 19:58:59 +0000 Subject: boost::unordered_map->std::unordered_map you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19 --- idlc/inc/idlc/idlctypes.hxx | 10 +++++----- idlc/inc/idlc/options.hxx | 2 +- idlc/source/idlc.cxx | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'idlc') diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx index 7766f837b3a5..e9e4c0c8d6b5 100644 --- a/idlc/inc/idlc/idlctypes.hxx +++ b/idlc/inc/idlc/idlctypes.hxx @@ -21,11 +21,11 @@ #include -#include #include -#include -#include #include +#include +#include +#include #include #include @@ -44,8 +44,8 @@ typedef ::std::set< OString, LessString > StringSet; class AstDeclaration; -typedef ::boost::unordered_map< OString, AstDeclaration*, OStringHash > DeclMap; -typedef ::std::list< AstDeclaration* > DeclList; +typedef std::unordered_map< OString, AstDeclaration*, OStringHash > DeclMap; +typedef std::list< AstDeclaration* > DeclList; class AstScope; AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope); diff --git a/idlc/inc/idlc/options.hxx b/idlc/inc/idlc/options.hxx index 08d839e736f1..ccd2d01639d5 100644 --- a/idlc/inc/idlc/options.hxx +++ b/idlc/inc/idlc/options.hxx @@ -22,7 +22,7 @@ #include -typedef ::boost::unordered_map< OString, +typedef std::unordered_map< OString, OString, OStringHash > OptionMap; diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx index f6a449506cc6..27cb47d93423 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -38,6 +38,8 @@ #include #include +#include + AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope) { if (pScope == NULL) return NULL; -- cgit