Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
44621a61
"vscode:/vscode.git/clone" did not exist on "79b0a50afc2f6109d2e979319f4c7dcc228aff34"
Commit
44621a61
authored
Nov 14, 2021
by
Davis King
Browse files
fix build error
parent
1925b2d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/test/invoke.cpp
dlib/test/invoke.cpp
+2
-2
No files found.
dlib/test/invoke.cpp
View file @
44621a61
...
...
@@ -323,8 +323,8 @@ namespace
static_assert
(
dlib
::
invoke
(
multiply_ints
,
2
,
5
)
==
10
,
"this should be constexpr"
);
static_assert
(
dlib
::
invoke_r
<
long
>
(
multiply_ints
,
2
,
5
)
==
10
,
"this should be constexpr"
);
constexpr
constexpr_object
constexpr_obj
;
static_assert
(
dlib
::
invoke
(
&
constexpr_object
::
multiply_ints
,
constexpr_obj
,
2
,
5
)
==
10
);
static_assert
(
dlib
::
invoke_r
<
long
>
(
&
constexpr_object
::
multiply_ints
,
constexpr_obj
,
2
,
5
)
==
10
);
static_assert
(
dlib
::
invoke
(
&
constexpr_object
::
multiply_ints
,
constexpr_obj
,
2
,
5
)
==
10
,
"this should be constexpr"
);
static_assert
(
dlib
::
invoke_r
<
long
>
(
&
constexpr_object
::
multiply_ints
,
constexpr_obj
,
2
,
5
)
==
10
,
"this should be constexpr"
);
}
// ----------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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