You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/05/08 19:36:30 UTC
svn commit: r1480375 -
/openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx
Author: hdu
Date: Wed May 8 17:36:30 2013
New Revision: 1480375
URL: http://svn.apache.org/r1480375
Log:
#i122208# force configmgr's partial to boost container for now
boost containers allow recursive declarations explicitly
Modified:
openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx
Modified: openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx?rev=1480375&r1=1480374&r2=1480375&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx (original)
+++ openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx Wed May 8 17:36:30 2013
@@ -26,14 +26,13 @@
#include "sal/config.h"
-#include <map>
+#include <boost/unordered_map.hpp> // using the boost container because it explicitly allows recursive types
#include <set>
#include "boost/noncopyable.hpp"
#include "path.hxx"
-
-namespace rtl { class OUString; }
+#include "rtl/ustring.hxx"
namespace configmgr {
@@ -51,7 +50,7 @@ public:
private:
struct Node {
- typedef std::map< rtl::OUString, Node > Children;
+ typedef boost::unordered_map< rtl::OUString, Node > Children;
Node(): startInclude(false) {}