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
a303c6fc
Commit
a303c6fc
authored
Dec 03, 2017
by
Antony Lee
Committed by
Wenzel Jakob
Dec 04, 2017
Browse files
Remove spurious quote in error message. (#1202)
parent
cf0d0f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/cast.h
include/pybind11/cast.h
+1
-1
No files found.
include/pybind11/cast.h
View file @
a303c6fc
...
@@ -1576,7 +1576,7 @@ template <typename T, typename SFINAE> type_caster<T, SFINAE> &load_type(type_ca
...
@@ -1576,7 +1576,7 @@ template <typename T, typename SFINAE> type_caster<T, SFINAE> &load_type(type_ca
throw
cast_error
(
"Unable to cast Python instance to C++ type (compile in debug mode for details)"
);
throw
cast_error
(
"Unable to cast Python instance to C++ type (compile in debug mode for details)"
);
#else
#else
throw
cast_error
(
"Unable to cast Python instance of type "
+
throw
cast_error
(
"Unable to cast Python instance of type "
+
(
std
::
string
)
str
(
handle
.
get_type
())
+
" to C++ type '"
+
type_id
<
T
>
()
+
"'
'
"
);
(
std
::
string
)
str
(
handle
.
get_type
())
+
" to C++ type '"
+
type_id
<
T
>
()
+
"'"
);
#endif
#endif
}
}
return
conv
;
return
conv
;
...
...
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