aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx
diff options
context:
space:
mode:
authorBenoitT <benoit.tremblay@frimastudio.com>2011-10-24 15:18:25 -0300
committerBenoitT <benoit.tremblay@frimastudio.com>2011-10-24 15:18:25 -0300
commit0653348f6869deaa9cb142f4271eeddf52b3357c (patch)
tree989f6914d5530e4aac3774230f1de321de094021 /system/include/libcxx
parentcbdb76d46c0c2605ba426ba86fd322f3c2393f9b (diff)
Fixed bug #105: string is not exported into JS file
Diffstat (limited to 'system/include/libcxx')
-rw-r--r--system/include/libcxx/string6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/include/libcxx/string b/system/include/libcxx/string
index 2041510f..4f3e0e76 100644
--- a/system/include/libcxx/string
+++ b/system/include/libcxx/string
@@ -1021,7 +1021,7 @@ __basic_string_common<__b>::__throw_out_of_range() const
#endif
}
-extern template class __basic_string_common<true>;
+//extern template class __basic_string_common<true>; /* XXX EMScripten: Comment to export the class */
template<class _CharT, class _Traits, class _Allocator>
class _LIBCPP_VISIBLE basic_string
@@ -3965,8 +3965,8 @@ getline(basic_istream<_CharT, _Traits>&& __is,
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
-extern template class basic_string<char>;
-extern template class basic_string<wchar_t>;
+//extern template class basic_string<char>; /* XXX EMScripten: Comment to export the class */
+//extern template class basic_string<wchar_t>; /* XXX EMScripten: Comment to export the class */
extern template
string