First git repo commit for the libreCMC project
[librecmc/librecmc.git] / package / libs / uclibc++ / patches / 020-template-fix.patch
1 --- a/include/ostream
2 +++ b/include/ostream
3 @@ -294,7 +294,7 @@ namespace std {
4  #endif
5  #endif
6  
7 -       template <class charT,class traits = char_traits<charT> >
8 +       template <class charT,class traits>
9                 class _UCXXEXPORT basic_ostream<charT,traits>::sentry
10         {
11                 bool ok;
12 --- a/include/istream
13 +++ b/include/istream
14 @@ -340,7 +340,7 @@ namespace std{
15  
16         };
17  
18 -       template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
19 +       template <class charT,class traits> class _UCXXEXPORT basic_istream<charT,traits>::sentry {
20                 bool ok;
21         public:
22                 explicit _UCXXEXPORT sentry(basic_istream<charT,traits>& os, bool noskipws = false){