MSVC 2013 doesn't define __cplusplus >= 201103L

...but does support std::remove_reference

Change-Id: I4a702efdea9aad91cee32aca08da755e482e4b88
This commit is contained in:
Stephan Bergmann
2015-04-01 09:15:41 +02:00
parent 99661d3f5f
commit b49abbbd9d
+2 -2
View File
@@ -22,7 +22,7 @@
#include <sal/config.h>
#if __cplusplus >= 201103L
#if defined LIBO_INTERNAL_ONLY
#include <type_traits>
#endif
@@ -269,7 +269,7 @@ template< typename T > class UnoType {
public:
static inline ::com::sun::star::uno::Type const & get() {
using namespace ::cppu::detail;
#if __cplusplus >= 201103L
#if defined LIBO_INTERNAL_ONLY
typedef typename std::remove_reference<T>::type T1;
// for certain uses of UnoType<decltype(x)>
#else