summaryrefslogtreecommitdiff
path: root/include/rtl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-09 19:08:09 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-09 19:19:48 +0300
commit64670c3ea25b0f8c8975946971b041b71f362066 (patch)
treeb43f53573aca08a6aecd2cb2b0fa680640029a3f /include/rtl
parentb71f9cdab150109edc8269a523b87f471b2baaf4 (diff)
HAVE_CXX11_PERFECT_FORWARDING doesn't seem to work against libc++
(Just one small fix for building against libc++, an unknown amount of more difficult issues left to solve.) Change-Id: I9789b8d76aa214558ab4baad823b6650ebc640d3
Diffstat (limited to 'include/rtl')
-rw-r--r--include/rtl/allocator.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/allocator.hxx b/include/rtl/allocator.hxx
index 05575c247fe9..710e2fe8d7b4 100644
--- a/include/rtl/allocator.hxx
+++ b/include/rtl/allocator.hxx
@@ -127,7 +127,7 @@ public:
}
//-----------------------------------------
-#if HAVE_CXX11_PERFECT_FORWARDING
+#if HAVE_CXX11_PERFECT_FORWARDING && !defined(_LIBCPP_VERSION)
template< typename... Args >
void construct (pointer p, Args &&... value)
{