uclibc++: fix build with gcc 5.2

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46777
lede-17.01
Felix Fietkau 2015-09-03 13:15:05 +00:00
parent 41a9f280c4
commit 3ae9c4fcad
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
--- a/include/ostream
+++ b/include/ostream
@@ -294,7 +294,7 @@ namespace std {
#endif
#endif
- template <class charT,class traits = char_traits<charT> >
+ template <class charT,class traits>
class _UCXXEXPORT basic_ostream<charT,traits>::sentry
{
bool ok;
--- a/include/istream
+++ b/include/istream
@@ -340,7 +340,7 @@ namespace std{
};
- template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
+ template <class charT,class traits> class _UCXXEXPORT basic_istream<charT,traits>::sentry {
bool ok;
public:
explicit _UCXXEXPORT sentry(basic_istream<charT,traits>& os, bool noskipws = false){