Kaydet (Commit) cb937e72 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

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

üst 2fa3cac0
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "pyuno_impl.hxx" #include "pyuno_impl.hxx"
#include <unordered_map> #include <boost/unordered_map.hpp>
#include <utility> #include <utility>
#include <osl/module.hxx> #include <osl/module.hxx>
...@@ -91,11 +91,11 @@ namespace { ...@@ -91,11 +91,11 @@ namespace {
class fillStructState 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 // Keyword arguments used
PyObject *used; PyObject *used;
// Which structure members are initialised // 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 // How many positional arguments are consumed
// This is always the so-many first ones // This is always the so-many first ones
sal_Int32 nPosConsumed; sal_Int32 nPosConsumed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment