summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 09:15:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 09:15:41 +0200
commitb49abbbd9d0107bef93adde32a1b51c78b6df469 (patch)
tree11c997b84efcb5ff6bfdaae21b911faf4e1412c5 /include/cppu
parent99661d3f5f902a004883a4be21649245de68a2fa (diff)
MSVC 2013 doesn't define __cplusplus >= 201103L
...but does support std::remove_reference Change-Id: I4a702efdea9aad91cee32aca08da755e482e4b88
Diffstat (limited to 'include/cppu')
-rw-r--r--include/cppu/unotype.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx
index 7c4d37792fb8..4c7e5a758b79 100644
--- a/include/cppu/unotype.hxx
+++ b/include/cppu/unotype.hxx
@@ -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