aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx
diff options
context:
space:
mode:
authorBenoitT <benoit.tremblay@frimastudio.com>2011-10-27 10:11:40 -0300
committerBenoitT <benoit.tremblay@frimastudio.com>2011-10-27 10:11:40 -0300
commitc67ace980cbfc40e592ea2628f75a408c482e373 (patch)
tree9f2ad8331b4499492a57ee6cd998420c221dd652 /system/include/libcxx
parent1f9f5f9a820f7251f04127b8ae90e910413759ce (diff)
std::endl was missing. We just need to comment extern to make std::cout works
Diffstat (limited to 'system/include/libcxx')
-rw-r--r--system/include/libcxx/ostream6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/include/libcxx/ostream b/system/include/libcxx/ostream
index c70f3c15..c7d294e2 100644
--- a/system/include/libcxx/ostream
+++ b/system/include/libcxx/ostream
@@ -204,7 +204,6 @@ protected:
basic_ostream() {} // extension, intentially does not initialize
};
-/*
template <class _CharT, class _Traits>
class _LIBCPP_VISIBLE basic_ostream<_CharT, _Traits>::sentry
{
@@ -1286,9 +1285,8 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
use_facet<ctype<_CharT> >(__os.getloc()).widen('1'));
}
-extern template class basic_ostream<char>;
-extern template class basic_ostream<wchar_t>;
-*/
+//extern template class basic_ostream<char>; /* XXX EMScripten */
+//extern template class basic_ostream<wchar_t>; /* XXX EMScripten */
_LIBCPP_END_NAMESPACE_STD