n759982: Win/VC++ stl messes up the namespace vector.
Every file's first element wasn't imported. This fixes the issue. (everyfile = everyfile imported via that path e.g. theme?.xml)
This commit is contained in:
@@ -65,8 +65,11 @@ namespace DOM
|
|||||||
{
|
{
|
||||||
void pushContext(Context& io_rContext)
|
void pushContext(Context& io_rContext)
|
||||||
{
|
{
|
||||||
io_rContext.maNamespaces.push_back(
|
// Explicitly use a temp. variable.
|
||||||
io_rContext.maNamespaces.back());
|
// Windows/VC++ seems to mess up if .back() is directly passed as
|
||||||
|
// parameter. i.e. Don't use push_back( .back() );
|
||||||
|
Context::NamespaceVectorType::value_type aVal = io_rContext.maNamespaces.back();
|
||||||
|
io_rContext.maNamespaces.push_back( aVal );
|
||||||
}
|
}
|
||||||
|
|
||||||
void popContext(Context& io_rContext)
|
void popContext(Context& io_rContext)
|
||||||
|
Reference in New Issue
Block a user