Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
feb9f5d2
Commit
feb9f5d2
authored
Feb 03, 2020
by
Martin Heistermann
Browse files
BSPImplT: avoid std::binary_function,it is deprecated in c++11 and removed in 17
parent
8c473723
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs_required/ACG/Geometry/bsp/BSPImplT.hh
View file @
feb9f5d2
...
...
@@ -200,7 +200,7 @@ private: //---------------------------------------------------------------------
void
_intersect_ball
(
const
Node
&
_node
,
const
Point
&
_c
,
Scalar
_r
,
Callback
_callback
)
const
;
template
<
typename
T
,
typename
U
>
struct
less_pair_second
:
public
std
::
binary_function
<
T
,
U
,
bool
>
{
struct
less_pair_second
{
bool
operator
()(
const
std
::
pair
<
T
,
U
>
&
left
,
const
std
::
pair
<
T
,
U
>
&
right
)
{
return
(
fabs
(
left
.
second
)
<
fabs
(
right
.
second
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment