[Libreoffice-commits] .: pyuno/source

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Sun Aug 21 01:39:10 PDT 2011


 pyuno/source/module/pyuno_module.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cb937e72b855c68efe982b63cab9963f941867aa
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Aug 21 10:35:44 2011 +0200

    use boost::unordered_map instead of STL one so as not to require C++0x

diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index a4144d9..7bf8da2 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -28,7 +28,7 @@
 
 #include "pyuno_impl.hxx"
 
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
 #include <utility>
 
 #include <osl/module.hxx>
@@ -91,11 +91,11 @@ namespace {
 
 class fillStructState
 {
-    typedef std::unordered_map <const OUString, bool, OUStringHash> initialised_t;
+    typedef boost::unordered_map <const OUString, bool, OUStringHash> initialised_t;
     // Keyword arguments used
     PyObject *used;
     // Which structure members are initialised
-    std::unordered_map <const OUString, bool, OUStringHash> initialised;
+    boost::unordered_map <const OUString, bool, OUStringHash> initialised;
     // How many positional arguments are consumed
     // This is always the so-many first ones
     sal_Int32 nPosConsumed;


More information about the Libreoffice-commits mailing list