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

Workaround seems no longer necessary for MSVC 2013

...but C2514 is still there

Change-Id: I818fed066b0ddaf5c30e6057285151d8a575c373
üst 032c0ec6
...@@ -181,7 +181,7 @@ private: ...@@ -181,7 +181,7 @@ private:
struct S { char c[2]; }; struct S { char c[2]; };
#if defined _MSC_VER #if defined _MSC_VER && _MSC_VER < 1800
static char f(T2 *, long); static char f(T2 *, long);
static S f(T1 * const &, int); static S f(T1 * const &, int);
#else #else
...@@ -190,8 +190,8 @@ private: ...@@ -190,8 +190,8 @@ private:
#endif #endif
struct H { struct H {
H(); // avoid C2514 "class has no constructors" from MSVC 2008 H(); // avoid C2514 "class has no constructors" from MSVC
#if defined _MSC_VER #if defined _MSC_VER && _MSC_VER < 1800
operator T1 * const & () const; operator T1 * const & () const;
#else #else
operator T1 * () const; operator T1 * () const;
......
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