Skip to content

Commit 8f8b6bb

Browse files
Merge pull request #1 from expertisesolutions/master
Fix multiple definition of default template arguments
2 parents 1309094 + 5baba91 commit 8f8b6bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/istream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ namespace std{
340340

341341
};
342342

343-
template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
343+
template <class charT,class traits> class _UCXXEXPORT basic_istream<charT,traits>::sentry {
344344
bool ok;
345345
public:
346346
explicit _UCXXEXPORT sentry(basic_istream<charT,traits>& os, bool noskipws = false){

include/ostream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ namespace std {
277277
#endif
278278
#endif
279279

280-
template <class charT,class traits = char_traits<charT> >
280+
template <class charT,class traits>
281281
class _UCXXEXPORT basic_ostream<charT,traits>::sentry
282282
{
283283
bool ok;

0 commit comments

Comments
 (0)