summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-01 19:58:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commitfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch)
tree448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /idlc
parentc48b928acab9f226ad5ad816fe773c21051431e8 (diff)
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/idlctypes.hxx10
-rw-r--r--idlc/inc/idlc/options.hxx2
-rw-r--r--idlc/source/idlc.cxx2
3 files changed, 8 insertions, 6 deletions
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 <stdio.h>
-#include <boost/unordered_map.hpp>
#include <list>
-#include <vector>
-#include <string>
#include <set>
+#include <string>
+#include <unordered_map>
+#include <vector>
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -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 <idlc/idlctypes.hxx>
-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 <osl/file.hxx>
#include <osl/thread.h>
+#include <algorithm>
+
AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope)
{
if (pScope == NULL) return NULL;