diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-12-12 17:26:24 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-12-12 17:26:24 +0000 |
| commit | a1a9e771221e5020df88a9acdb4614f859b92504 (patch) | |
| tree | f8225f32fbd242135888e84ec638181a752d8b82 /libcxx/include/__hash_table | |
| parent | b5f52aad227917493a65bf07882d0c5c9a718998 (diff) | |
| download | bcm5719-llvm-a1a9e771221e5020df88a9acdb4614f859b92504.tar.gz bcm5719-llvm-a1a9e771221e5020df88a9acdb4614f859b92504.zip | |
As an extension, support incomplete types in the unordered containers to match what we already do in the associative containers.
llvm-svn: 146376
Diffstat (limited to 'libcxx/include/__hash_table')
| -rw-r--r-- | libcxx/include/__hash_table | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__hash_table b/libcxx/include/__hash_table index a4c29f1fcf8..fad4e0e6ad4 100644 --- a/libcxx/include/__hash_table +++ b/libcxx/include/__hash_table @@ -475,7 +475,6 @@ public: public: // Create __node typedef __hash_node<value_type, typename __alloc_traits::void_pointer> __node; - typedef typename __node::__first_node __first_node; typedef typename __alloc_traits::template #ifndef _LIBCPP_HAS_NO_TEMPLATE_ALIASES rebind_alloc<__node> @@ -486,6 +485,7 @@ public: typedef allocator_traits<__node_allocator> __node_traits; typedef typename __node_traits::pointer __node_pointer; typedef typename __node_traits::const_pointer __node_const_pointer; + typedef __hash_node_base<__node_pointer> __first_node; private: |

