diff options
-rw-r--r-- | libcxx/test/support/uses_alloc_types.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/support/uses_alloc_types.hpp b/libcxx/test/support/uses_alloc_types.hpp index a88453c..834e577 100644 --- a/libcxx/test/support/uses_alloc_types.hpp +++ b/libcxx/test/support/uses_alloc_types.hpp @@ -172,12 +172,12 @@ protected: private: template <class ...LArgs, class ...Args> - static CtorAlloc const& getAllocatorFromPack(ArgumentListID<LArgs...>, Args&&... args) { + static CtorAlloc getAllocatorFromPack(ArgumentListID<LArgs...>, Args&&... args) { return getAllocatorFromPackImp<LArgs const&...>(args...); } template <class ...LArgs> - static CtorAlloc const& getAllocatorFromPackImp( + static CtorAlloc getAllocatorFromPackImp( typename detail::Identity<LArgs>::type..., CtorAlloc const& alloc) { return alloc; } |