Skip to content

Instantly share code, notes, and snippets.

@danieldk
Created September 21, 2012 12:52
Show Gist options
  • Select an option

  • Save danieldk/3761290 to your computer and use it in GitHub Desktop.

Select an option

Save danieldk/3761290 to your computer and use it in GitHub Desktop.
Fix DB XML build on gcc 4.7
Index: dbxml-2.5.16/xqilla/src/items/DatatypeFactoryTemplate.hpp
===================================================================
--- dbxml-2.5.16.orig/xqilla/src/items/DatatypeFactoryTemplate.hpp 2010-01-13 16:40:37.000000000 +0100
+++ dbxml-2.5.16/xqilla/src/items/DatatypeFactoryTemplate.hpp 2012-09-09 15:17:49.342211658 +0200
@@ -79,7 +79,7 @@
AnyAtomicType::Ptr createInstance(const XMLCh* value,
const DynamicContext* context) const
{
- return createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(),
+ return this->createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(),
DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeName(), value, context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment