Kaydet (Commit) 3a4d9d34 authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Michael Stahl

Workaround seems no longer necessary for MSVC 2013

Moreover, the removed code doesn't compile on MSVC 2015.

Change-Id: I400df7b7934a8965a204009328d44e74f220fc37
Reviewed-on: https://gerrit.libreoffice.org/16805Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 98a61f5b
......@@ -46,21 +46,12 @@ private:
struct S { char c[2]; };
#if defined _MSC_VER
static char f(T2 *, long);
static S f(T1 * const &, int);
#else
template< typename U > static char f(T2 *, U);
static S f(T1 *, int);
#endif
struct H {
H(); // avoid C2514 "class has no constructors" from MSVC 2008
#if defined _MSC_VER
operator T1 * const & () const;
#else
operator T1 * () const;
#endif
operator T2 * ();
};
......
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