Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
4b85e23c
Commit
4b85e23c
authored
Jan 31, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed const non-const conversion
parent
f593fd77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
PythonInterpreter/PythonInterpreter.cc
PythonInterpreter/PythonInterpreter.cc
+1
-1
No files found.
PythonInterpreter/PythonInterpreter.cc
View file @
4b85e23c
...
...
@@ -267,7 +267,7 @@ namespace pybind11 { namespace detail {
return
false
;
Py_ssize_t
size
;
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
const
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
if
(
!
ptr
)
{
return
NULL
;
...
...
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