aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 20:19:29 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 20:19:29 +0100
commit99ca317486703808bec65846a6266afdace5d0f7 (patch)
treea547aff8a970c9627f432de76b7cd9829a26aeca /paludis
parent8603d3262180a2771947801ce1d80cbd5092c989 (diff)
downloadpaludis-99ca317486703808bec65846a6266afdace5d0f7.tar.gz
paludis-99ca317486703808bec65846a6266afdace5d0f7.tar.xz
Require rvalue refs
Diffstat (limited to 'paludis')
-rw-r--r--paludis/util/make_named_values.hh13
1 files changed, 0 insertions, 13 deletions
diff --git a/paludis/util/make_named_values.hh b/paludis/util/make_named_values.hh
index 021057614..9e0dbe30f 100644
--- a/paludis/util/make_named_values.hh
+++ b/paludis/util/make_named_values.hh
@@ -30,25 +30,12 @@
namespace paludis
{
-#ifdef PALUDIS_HAVE_RVALUE_REFERENCES
-
template <typename R_, typename... T_>
R_ make_named_values(T_ && ... a)
{
R_ result = { a... };
return result;
}
-
-#else
-
- template <typename R_, typename... T_>
- R_ make_named_values(const T_ & ... a)
- {
- R_ result = { a... };
- return result;
- }
-
-#endif
}
#endif