aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/uclibc++/patches/020-template-fix.patch
blob: f7cc09e14007bf58cc3af5bfc6c13f20489e8f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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){