Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
systemc-clang
Commits
b091b359
Commit
b091b359
authored
Feb 19, 2019
by
rmrf
Browse files
Signal and SignalContainer needs updates
parent
8b834694
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ModuleDecl.cpp
View file @
b091b359
...
...
@@ -54,8 +54,8 @@ void ModuleDecl::addSignals(const FindSignals::signalMapType & signal_map) {
// It is important to create new objects.
// This is because the objects created during Find*
// may go outside scope, and free up allocated memory.
SignalContainer
*
sc
=
new
SignalContainer
(
*
sit
.
second
);
Signal
*
sig
=
new
Signal
(
name
,
sc
);
SignalContainer
*
sc
{
new
SignalContainer
(
*
sit
.
second
)
}
;
Signal
*
sig
{
new
Signal
(
name
,
sc
)
}
;
_signals
.
insert
(
ModuleDecl
::
signalPairType
(
name
,
sig
)
);
}
...
...
Write
Preview
Supports
Markdown
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