Kaydet (Commit) f168fcae authored tarafından Michael Stahl's avatar Michael Stahl

sal: partially revert a251fe4d

The change to sal/log.hxx affects extensions too which are not required
to use a C++11 compiler.

Change-Id: I3ed08f9a02a2e082fcdb821bce84244597f2390a
üst 28e465d2
...@@ -74,18 +74,27 @@ template< typename T > inline StreamIgnore operator <<( ...@@ -74,18 +74,27 @@ template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamStart const &, SAL_UNUSED_PARAMETER T const &) SAL_UNUSED_PARAMETER StreamStart const &, SAL_UNUSED_PARAMETER T const &)
{ {
std::abort(); std::abort();
#if defined _MSC_VER && _MSC_VER < 1700
return StreamIgnore();
#endif
} }
template< typename T > inline StreamIgnore operator <<( template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamString const &, SAL_UNUSED_PARAMETER T const &) SAL_UNUSED_PARAMETER StreamString const &, SAL_UNUSED_PARAMETER T const &)
{ {
std::abort(); std::abort();
#if defined _MSC_VER && _MSC_VER < 1700
return StreamIgnore();
#endif
} }
template< typename T > inline StreamIgnore operator <<( template< typename T > inline StreamIgnore operator <<(
SAL_UNUSED_PARAMETER StreamIgnore const &, SAL_UNUSED_PARAMETER T const &) SAL_UNUSED_PARAMETER StreamIgnore const &, SAL_UNUSED_PARAMETER T const &)
{ {
std::abort(); std::abort();
#if defined _MSC_VER && _MSC_VER < 1700
return StreamIgnore();
#endif
} }
template< typename T > typename T::Result getResult(T const &); template< typename T > typename T::Result getResult(T const &);
...@@ -94,6 +103,9 @@ inline char const * unwrapStream(StreamString const & s) { return s.string; } ...@@ -94,6 +103,9 @@ inline char const * unwrapStream(StreamString const & s) { return s.string; }
inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) { inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
std::abort(); std::abort();
#if defined _MSC_VER && _MSC_VER < 1700
return 0;
#endif
} }
} } } }
......
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