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
9d86345e
Commit
9d86345e
authored
Jun 23, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix copy constructor with new MODULE::m_initial_comments member handling
parent
1f9ee2e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
class_module.cpp
pcbnew/class_module.cpp
+4
-2
No files found.
pcbnew/class_module.cpp
View file @
9d86345e
...
...
@@ -83,8 +83,7 @@ MODULE::MODULE( BOARD* parent ) :
MODULE
::
MODULE
(
const
MODULE
&
aModule
)
:
BOARD_ITEM
(
aModule
),
m_initial_comments
(
0
)
BOARD_ITEM
(
aModule
)
{
m_Pos
=
aModule
.
m_Pos
;
m_LibRef
=
aModule
.
m_LibRef
;
...
...
@@ -166,6 +165,9 @@ MODULE::MODULE( const MODULE& aModule ) :
// Ensure auxiliary data is up to date
CalculateBoundingBox
();
m_initial_comments
=
aModule
.
m_initial_comments
?
new
wxArrayString
(
*
aModule
.
m_initial_comments
)
:
0
;
}
...
...
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