summaryrefslogtreecommitdiff
path: root/boost/spirit/home/x3/directive/with.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/x3/directive/with.hpp')
-rw-r--r--boost/spirit/home/x3/directive/with.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/spirit/home/x3/directive/with.hpp b/boost/spirit/home/x3/directive/with.hpp
index cc6c442a34..359f5adf1c 100644
--- a/boost/spirit/home/x3/directive/with.hpp
+++ b/boost/spirit/home/x3/directive/with.hpp
@@ -87,20 +87,20 @@ namespace boost { namespace spirit { namespace x3
with_directive<typename extension::as_parser<Subject>::value_type, ID, T>
operator[](Subject const& subject) const
{
- return {as_parser(subject), val};
+ return { as_parser(subject), val };
}
};
template <typename ID, typename T>
inline with_gen<ID, T> with(T& val)
{
- return with_gen<ID, T>{val};
+ return { val };
}
template <typename ID, typename T>
inline with_gen<ID, T const> with(T const& val)
{
- return with_gen<ID, T const>{val};
+ return { val };
}
}}}