Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
6a09cedf
Commit
6a09cedf
authored
Feb 11, 2021
by
Ralf W. Grosse-Kunstleve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GitHub CI clang-tidy fixes.
parent
43a0ecc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/test_multiple_inheritance.cpp
+1
-1
tests/test_smart_ptr.cpp
+1
-1
No files found.
tests/test_multiple_inheritance.cpp
View file @
6a09cedf
...
@@ -64,7 +64,7 @@ namespace {
...
@@ -64,7 +64,7 @@ namespace {
struct
I801C
:
I801B1
,
I801B2
{};
struct
I801C
:
I801B1
,
I801B2
{};
struct
I801D
:
I801C
{};
// Indirect MI
struct
I801D
:
I801C
{};
// Indirect MI
}
// namespace
anonymous
}
// namespace
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Base1a
,
std
::
shared_ptr
<
Base1a
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Base1a
,
std
::
shared_ptr
<
Base1a
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Base2a
,
std
::
shared_ptr
<
Base2a
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Base2a
,
std
::
shared_ptr
<
Base2a
>
)
...
...
tests/test_smart_ptr.cpp
View file @
6a09cedf
...
@@ -269,7 +269,7 @@ namespace {
...
@@ -269,7 +269,7 @@ namespace {
void
add
(
std
::
shared_ptr
<
ElementBase
>
e
)
{
l
.
push_back
(
e
);
}
void
add
(
std
::
shared_ptr
<
ElementBase
>
e
)
{
l
.
push_back
(
e
);
}
std
::
vector
<
std
::
shared_ptr
<
ElementBase
>>
l
;
std
::
vector
<
std
::
shared_ptr
<
ElementBase
>>
l
;
};
};
}
}
// namespace
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Object
,
ref
<
Object
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
Object
,
ref
<
Object
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
MyObject1
,
ref
<
MyObject1
>
)
PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS
(
MyObject1
,
ref
<
MyObject1
>
)
...
...
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