Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olivier B.
pybind11
Commits
d2a902bd
Commit
d2a902bd
authored
Oct 04, 2015
by
Wenzel Jakob
Browse files
quench a warning on windows
parent
b3ee3eaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/pybind/pybind.h
View file @
d2a902bd
...
...
@@ -305,9 +305,9 @@ private:
std
::
string
msg
=
"Incompatible function arguments. The "
"following argument types are supported:
\n
"
;
int
ctr
=
0
;
for
(
function_entry
*
it
=
overloads
;
it
!=
nullptr
;
it
=
it
->
next
)
{
for
(
function_entry
*
it
2
=
overloads
;
it
2
!=
nullptr
;
it
2
=
it
2
->
next
)
{
msg
+=
" "
+
std
::
to_string
(
++
ctr
)
+
". "
;
msg
+=
it
->
signature
;
msg
+=
it
2
->
signature
;
msg
+=
"
\n
"
;
}
PyErr_SetString
(
PyExc_TypeError
,
msg
.
c_str
());
...
...
Write
Preview
Supports
Markdown
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