summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/src/bind.cpp')
-rw-r--r--contrib/libc++/src/bind.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/contrib/libc++/src/bind.cpp b/contrib/libc++/src/bind.cpp
index cab0b7c..b318fc1 100644
--- a/contrib/libc++/src/bind.cpp
+++ b/contrib/libc++/src/bind.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#define _LIBCPP_BUILDING_BIND
#include "functional"
_LIBCPP_BEGIN_NAMESPACE_STD
@@ -14,16 +15,16 @@ _LIBCPP_BEGIN_NAMESPACE_STD
namespace placeholders
{
-__ph<1> _1;
-__ph<2> _2;
-__ph<3> _3;
-__ph<4> _4;
-__ph<5> _5;
-__ph<6> _6;
-__ph<7> _7;
-__ph<8> _8;
-__ph<9> _9;
-__ph<10> _10;
+const __ph<1> _1{};
+const __ph<2> _2{};
+const __ph<3> _3{};
+const __ph<4> _4{};
+const __ph<5> _5{};
+const __ph<6> _6{};
+const __ph<7> _7{};
+const __ph<8> _8{};
+const __ph<9> _9{};
+const __ph<10> _10{};
} // placeholders
OpenPOWER on IntegriCloud