[libcxx-commits] [PATCH] D65667: [libcxx] Avoid destructor call for error_category singletons

Hubert Tong via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 20 11:53:36 PDT 2019


hubert.reinterpretcast added inline comments.


================
Comment at: libcxx/src/future.cpp:82
 {
-    static __future_error_category __f;
-    return __f;
+    _LIBCPP_SAFE_STATIC_AFTER_CXX11
+    static FutureErrorHelper __f;
----------------
@mclow.lists, not sure if you meant to have this on one line; otherwise, I think all of the comments have been addressed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65667/new/

https://reviews.llvm.org/D65667





More information about the libcxx-commits mailing list