fix curve implementation

This commit is contained in:
bolero-MURAKAMI 2015-01-11 23:29:58 +09:00
parent b55e74de78
commit 1c758320b6
5 changed files with 36 additions and 8 deletions

View file

@ -50,7 +50,7 @@ namespace sprout {
SPROUT_CONSTEXPR typename sprout::tuples::tuple_construct_traits<Tuple>::copied_type
default_make_tuple(Args&&... args) {
typedef typename sprout::tuples::tuple_construct_traits<Tuple>::copied_type copied_type;
return copied_type(SPROUT_FORWARD(Args, args)...);
return copied_type{SPROUT_FORWARD(Args, args)...};
}
} // namespace detail