summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/__locale2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__locale b/include/__locale
index b1e07113e..f23e03545 100644
--- a/include/__locale
+++ b/include/__locale
@@ -119,7 +119,7 @@ class _LIBCPP_VISIBLE locale::id
static int32_t __next_id;
public:
- _LIBCPP_INLINE_VISIBILITY id() {}
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR id() :__id_(0) {}
private:
void __init();
void operator=(const id&); // = delete;