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
gaoqiong
pybind11
Commits
d2a902bd
Commit
d2a902bd
authored
Oct 04, 2015
by
Wenzel Jakob
Browse files
quench a warning on windows
parent
b3ee3eaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/pybind/pybind.h
include/pybind/pybind.h
+2
-2
No files found.
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
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