-
Notifications
You must be signed in to change notification settings - Fork 228
Replace several Boost headers with C++11/C++14 STL alternatives. #1425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_INTERSECTION_AREAL_AREAL_HPP | ||
|
||
|
||
#include <boost/core/ignore_unused.hpp> | ||
|
||
#include <boost/geometry/algorithms/detail/intersection/interface.hpp> | ||
|
||
|
||
|
@@ -80,14 +78,11 @@ struct intersection_areal_areal_<TupledOut, tupled_output_tag> | |
TupledOut | ||
>::type; | ||
|
||
boost::ignore_unused | ||
< | ||
geometry::detail::expect_output | ||
< | ||
Areal1, Areal2, single_out, | ||
point_tag, linestring_tag, polygon_tag | ||
> | ||
>(); | ||
(void)sizeof(geometry::detail::expect_output | ||
< | ||
Areal1, Areal2, single_out, | ||
point_tag, linestring_tag, polygon_tag | ||
>); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This I don't like so much. (Why is the whole statement there anyway - but that is another question...) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will test taking a pointer of this type and assign it to ignore. I will also try to check why this statement was there, maybe it can be dropped. |
||
|
||
using areal = geometry::detail::output_geometry_access | ||
< | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we can remove it. I'm fine with it like this in this PR, we can change it in a follow up