Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
271b27ff
Commit
271b27ff
authored
May 02, 2017
by
Jason Rhinelander
Browse files
Remove obsolete comment
parent
083a0219
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/test_virtual_functions.cpp
tests/test_virtual_functions.cpp
+0
-3
No files found.
tests/test_virtual_functions.cpp
View file @
271b27ff
...
@@ -313,9 +313,6 @@ void initialize_inherited_virtuals(py::module &m) {
...
@@ -313,9 +313,6 @@ void initialize_inherited_virtuals(py::module &m) {
test_initializer
virtual_functions
([](
py
::
module
&
m
)
{
test_initializer
virtual_functions
([](
py
::
module
&
m
)
{
/* Important: indicate the trampoline class PyExampleVirt using the third
argument to py::class_. The second argument with the unique pointer
is simply the default holder type used by pybind11. */
py
::
class_
<
ExampleVirt
,
PyExampleVirt
>
(
m
,
"ExampleVirt"
)
py
::
class_
<
ExampleVirt
,
PyExampleVirt
>
(
m
,
"ExampleVirt"
)
.
def
(
py
::
init
<
int
>
())
.
def
(
py
::
init
<
int
>
())
/* Reference original class in function definitions */
/* Reference original class in function definitions */
...
...
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