Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
c64daa2e
Commit
c64daa2e
authored
Oct 16, 2018
by
Paul
Browse files
Use move
parent
255342ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/simplify_algebra.cpp
src/simplify_algebra.cpp
+1
-1
No files found.
src/simplify_algebra.cpp
View file @
c64daa2e
...
@@ -19,7 +19,7 @@ struct find_add_lit_broadcast
...
@@ -19,7 +19,7 @@ struct find_add_lit_broadcast
auto
add_lit_broadcast
(
std
::
string
x
,
std
::
string
y
)
const
auto
add_lit_broadcast
(
std
::
string
x
,
std
::
string
y
)
const
{
{
return
match
::
name
(
"add"
)(
return
match
::
name
(
"add"
)(
match
::
either_arg
(
0
,
1
)(
lit_broadcast
().
bind
(
x
),
not_lit_broadcast
().
bind
(
y
)));
match
::
either_arg
(
0
,
1
)(
lit_broadcast
().
bind
(
std
::
move
(
x
)
),
not_lit_broadcast
().
bind
(
std
::
move
(
y
)
)));
}
}
auto
matcher
()
const
auto
matcher
()
const
{
{
...
...
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