Skip to content

Commit

Permalink
Revert "Add handling with optional<Source> for `boost::spirit::x3::…
Browse files Browse the repository at this point in the history
…traits::…"
  • Loading branch information
Kojoley committed Jun 7, 2020
1 parent b59458e commit 7b3d5c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 73 deletions.
7 changes: 0 additions & 7 deletions include/boost/spirit/home/x3/support/traits/move_to.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ namespace boost { namespace spirit { namespace x3 { namespace traits
}
}

template <typename Source, typename Dest>
inline void move_to(boost::optional<Source>&& src, Dest& dest)
{
if (src) detail::move_to(std::move(*src), dest
, typename attribute_category<Dest>::type());
}

template <typename Source, typename Dest>
inline void move_to(Source&& src, Dest& dest)
{
Expand Down
66 changes: 0 additions & 66 deletions test/x3/optional_ast_node.cpp

This file was deleted.

0 comments on commit 7b3d5c3

Please sign in to comment.