Kaydet (Commit) b49abbbd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

MSVC 2013 doesn't define __cplusplus >= 201103L

...but does support std::remove_reference

Change-Id: I4a702efdea9aad91cee32aca08da755e482e4b88
üst 99661d3f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment