Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3bbd50f0
authored
Oct 27, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: removed unnecessary value copy
parent
784baa28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
dataflow_cpp/include/embb/dataflow/internal/signal.h
+2
-1
No files found.
dataflow_cpp/include/embb/dataflow/internal/signal.h
View file @
3bbd50f0
...
...
@@ -37,7 +37,8 @@ template <typename Type>
class
Signal
{
public
:
Signal
()
:
blank_
(
true
),
value_
(),
clock_
(
-
1
)
{}
Signal
(
int
clock
,
Type
value
)
:
blank_
(
false
),
value_
(
value
),
clock_
(
clock
)
{}
Signal
(
int
clock
,
Type
const
&
value
)
:
blank_
(
false
),
value_
(
value
),
clock_
(
clock
)
{}
explicit
Signal
(
int
clock
)
:
blank_
(
true
),
value_
(),
clock_
(
clock
)
{}
Signal
(
Signal
const
&
other
)
:
blank_
(
other
.
blank_
),
value_
(
other
.
value_
),
clock_
(
other
.
clock_
)
{}
...
...
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