Author: hhinnant
Date: Sun Jul 28 13:20:00 2013
New Revision: 187332

URL: http://llvm.org/viewvc/llvm-project?rev=187332&view=rev
Log:
Glen: Minor tweaks to locale.cpp to help it compile with exceptions turned off.

Modified:
    libcxx/trunk/src/locale.cpp

Modified: libcxx/trunk/src/locale.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/locale.cpp?rev=187332&r1=187331&r2=187332&view=diff
==============================================================================
--- libcxx/trunk/src/locale.cpp (original)
+++ libcxx/trunk/src/locale.cpp Sun Jul 28 13:20:00 2013
@@ -18,9 +18,10 @@
 #include "codecvt"
 #include "vector"
 #include "algorithm"
-#include "algorithm"
 #include "typeinfo"
-#include "type_traits"
+#ifndef _LIBCPP_NO_EXCEPTIONS
+#  include "type_traits"
+#endif
 #include "clocale"
 #include "cstring"
 #include "cwctype"


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to