summaryrefslogtreecommitdiff
path: root/boost/spirit/home/karma/directive/duplicate.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/karma/directive/duplicate.hpp')
-rw-r--r--boost/spirit/home/karma/directive/duplicate.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/spirit/home/karma/directive/duplicate.hpp b/boost/spirit/home/karma/directive/duplicate.hpp
index 8d9f3725a3..3a71592e4d 100644
--- a/boost/spirit/home/karma/directive/duplicate.hpp
+++ b/boost/spirit/home/karma/directive/duplicate.hpp
@@ -68,7 +68,7 @@ namespace boost { namespace spirit { namespace karma
template <typename T
, bool IsSequence = fusion::traits::is_sequence<T>::value>
struct first_attribute_of_subject
- : fusion::result_of::at_c<T, 0>
+ : remove_reference<typename fusion::result_of::at_c<T, 0>::type>
{};
template <typename T>