020-template-fix.patch 677 B

12345678910111213141516171819202122
  1. --- a/include/ostream
  2. +++ b/include/ostream
  3. @@ -294,7 +294,7 @@ namespace std {
  4. #endif
  5. #endif
  6. - template <class charT,class traits = char_traits<charT> >
  7. + template <class charT,class traits>
  8. class _UCXXEXPORT basic_ostream<charT,traits>::sentry
  9. {
  10. bool ok;
  11. --- a/include/istream
  12. +++ b/include/istream
  13. @@ -340,7 +340,7 @@ namespace std{
  14. };
  15. - template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
  16. + template <class charT,class traits> class _UCXXEXPORT basic_istream<charT,traits>::sentry {
  17. bool ok;
  18. public:
  19. explicit _UCXXEXPORT sentry(basic_istream<charT,traits>& os, bool noskipws = false){