[libcxx-commits] [libcxx] c92d3ce - [libc++][NFC] Remove unused __nat from unique_ptr
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 1 09:47:56 PST 2024
Author: Nikolas Klauser
Date: 2024-01-01T18:47:45+01:00
New Revision: c92d3ce6fd0f6a48ebcaa206c371a26240d0a6a3
URL: https://github.com/llvm/llvm-project/commit/c92d3ce6fd0f6a48ebcaa206c371a26240d0a6a3
DIFF: https://github.com/llvm/llvm-project/commit/c92d3ce6fd0f6a48ebcaa206c371a26240d0a6a3.diff
LOG: [libc++][NFC] Remove unused __nat from unique_ptr
Added:
Modified:
libcxx/include/__memory/unique_ptr.h
Removed:
################################################################################
diff --git a/libcxx/include/__memory/unique_ptr.h b/libcxx/include/__memory/unique_ptr.h
index 7bf5e3c5e4e6b5..db473eaa50a6ba 100644
--- a/libcxx/include/__memory/unique_ptr.h
+++ b/libcxx/include/__memory/unique_ptr.h
@@ -132,10 +132,6 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
private:
__compressed_pair<pointer, deleter_type> __ptr_;
- struct __nat {
- int __for_bool_;
- };
-
typedef _LIBCPP_NODEBUG __unique_ptr_deleter_sfinae<_Dp> _DeleterSFINAE;
template <bool _Dummy>
More information about the libcxx-commits
mailing list