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
10d46e7f
Commit
10d46e7f
authored
Sep 02, 2016
by
Jason Newton
Browse files
explicitly delete copy-ctor and assignment operator
parent
47646980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
include/pybind11/common.h
include/pybind11/common.h
+3
-0
No files found.
include/pybind11/common.h
View file @
10d46e7f
...
...
@@ -235,6 +235,9 @@ struct buffer_info {
}
}
buffer_info
(
const
buffer_info
&
)
=
delete
;
buffer_info
&
operator
=
(
const
buffer_info
&
)
=
delete
;
buffer_info
(
buffer_info
&&
other
){
(
*
this
)
=
std
::
move
(
other
);
}
...
...
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