Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
92c69a9c
Commit
92c69a9c
authored
Jan 01, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a conceptual problem
parent
84ed5f50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sch_part.cpp
new/sch_part.cpp
+5
-4
No files found.
new/sch_part.cpp
View file @
92c69a9c
...
...
@@ -247,9 +247,7 @@ void PART::inherit( const PART& other )
{
contains
=
other
.
contains
;
setExtends
(
other
.
extends
?
new
LPID
(
*
other
.
extends
)
:
0
);
body
=
other
.
body
;
// @todo copy the inherited drawables, properties, and pins here
}
...
...
@@ -258,8 +256,11 @@ PART& PART::operator=( const PART& other )
owner
=
other
.
owner
;
partName
=
other
.
partName
;
revision
=
other
.
revision
;
body
=
other
.
body
;
setExtends
(
other
.
extends
?
new
LPID
(
*
other
.
extends
)
:
0
);
// maintain in
herit() a
s a partial assignment operator.
// maintain in
concert with inherit(), which i
s a partial assignment operator.
inherit
(
other
);
return
*
this
;
...
...
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