summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-07-18 23:56:04 +0000
committerEric Fiselier <eric@efcs.ca>2015-07-18 23:56:04 +0000
commit2decfad7c5df07030c27e70b98ca9feada760d3c (patch)
treedf23e04f441d63a82cf185fce9334e6489560caf /libcxx/include
parent818139da5909af767e7579b819876e67149e9d9a (diff)
downloadbcm5719-llvm-2decfad7c5df07030c27e70b98ca9feada760d3c.tar.gz
bcm5719-llvm-2decfad7c5df07030c27e70b98ca9feada760d3c.zip
Fix warnings in array and assoc containers
llvm-svn: 242629
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/__tree8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/__tree b/libcxx/include/__tree
index 574e74baf26..3ad57943ccb 100644
--- a/libcxx/include/__tree
+++ b/libcxx/include/__tree
@@ -1118,8 +1118,8 @@ __tree<_Tp, _Compare, _Allocator>::__tree(const value_compare& __comp)
template <class _Tp, class _Compare, class _Allocator>
__tree<_Tp, _Compare, _Allocator>::__tree(const allocator_type& __a)
- : __pair1_(__node_allocator(__a)),
- __begin_node_(__node_pointer()),
+ : __begin_node_(__node_pointer()),
+ __pair1_(__node_allocator(__a)),
__pair3_(0)
{
__begin_node() = __end_node();
@@ -1128,8 +1128,8 @@ __tree<_Tp, _Compare, _Allocator>::__tree(const allocator_type& __a)
template <class _Tp, class _Compare, class _Allocator>
__tree<_Tp, _Compare, _Allocator>::__tree(const value_compare& __comp,
const allocator_type& __a)
- : __pair1_(__node_allocator(__a)),
- __begin_node_(__node_pointer()),
+ : __begin_node_(__node_pointer()),
+ __pair1_(__node_allocator(__a)),
__pair3_(0, __comp)
{
__begin_node() = __end_node();
OpenPOWER on IntegriCloud