Skip to content

Commit

Permalink
Reorganize bg_operators.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal0 committed Jul 1, 2020
1 parent 8e76b2e commit ed08e9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bg_operators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ bg::model::multi_linestring<linestring_type_t> operator&(
return ret;
}

template multi_linestring_type_fp operator&(const multi_linestring_type_fp&, const multi_polygon_type_fp&);
template multi_linestring_type_fp operator&(const multi_linestring_type_fp&, const box_type_fp&);

template <typename rhs_t>
multi_linestring_type_fp operator&(const linestring_type_fp& lhs,
const rhs_t& rhs) {
Expand All @@ -79,8 +82,6 @@ multi_linestring_type_fp operator&(const linestring_type_fp& lhs,
}

template multi_linestring_type_fp operator&(const linestring_type_fp&, const box_type_fp&);
template multi_linestring_type_fp operator&(const multi_linestring_type_fp&, const multi_polygon_type_fp&);
template multi_linestring_type_fp operator&(const multi_linestring_type_fp&, const box_type_fp&);

template <typename polygon_type_t, typename rhs_t>
bg::model::multi_polygon<polygon_type_t> operator&(const bg::model::multi_polygon<polygon_type_t>& lhs,
Expand Down

0 comments on commit ed08e9a

Please sign in to comment.