From a22e79eec5c8fda1bbe5cce664d46f57a57f9076 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Mar 2012 12:34:54 +0200 Subject: Portability workarounds for incomplete C++11 support in VC++ and old GCC --- odb/qt/smart-ptr/lazy-ptr.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/qt') diff --git a/odb/qt/smart-ptr/lazy-ptr.hxx b/odb/qt/smart-ptr/lazy-ptr.hxx index 7000cf0..1744a46 100644 --- a/odb/qt/smart-ptr/lazy-ptr.hxx +++ b/odb/qt/smart-ptr/lazy-ptr.hxx @@ -167,7 +167,7 @@ public: template QLazySharedPointer (database_type&, const QWeakPointer&); -#ifdef ODB_CXX11 +#ifdef ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT template #else template @@ -339,7 +339,7 @@ public: // The objectId() function can only be called when the object is persistent, // or: toStrongRef().isNull() XOR loaded() (can use != for XOR). // -#ifdef ODB_CXX11 +#ifdef ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT template #else template -- cgit v1.1