Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faust group
faust
Commits
4ba82adb
Commit
4ba82adb
authored
5 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Minor change: correct constness for Slice arguments.
parent
84518605
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/faust_linear_operator/CPU/faust_Slice.cpp
+2
-2
2 additions, 2 deletions
src/faust_linear_operator/CPU/faust_Slice.cpp
src/faust_linear_operator/CPU/faust_Slice.h
+2
-2
2 additions, 2 deletions
src/faust_linear_operator/CPU/faust_Slice.h
with
4 additions
and
4 deletions
src/faust_linear_operator/CPU/faust_Slice.cpp
+
2
−
2
View file @
4ba82adb
...
...
@@ -15,7 +15,7 @@ namespace Faust {
}
}
Slice
::
Slice
(
Slice
&
s
)
Slice
::
Slice
(
const
Slice
&
s
)
{
this
->
copy
(
s
);
}
...
...
@@ -35,7 +35,7 @@ namespace Faust {
return
this
->
start_id
>=
s
.
start_id
&&
this
->
end_id
<=
s
.
end_id
;
}
void
Slice
::
copy
(
Slice
&
s
)
void
Slice
::
copy
(
const
Slice
&
s
)
{
this
->
start_id
=
s
.
start_id
;
this
->
end_id
=
s
.
end_id
;
...
...
This diff is collapsed.
Click to expand it.
src/faust_linear_operator/CPU/faust_Slice.h
+
2
−
2
View file @
4ba82adb
...
...
@@ -12,12 +12,12 @@ namespace Faust {
faust_unsigned_int
end_id
;
Slice
(
faust_unsigned_int
start_id
,
faust_unsigned_int
end_id
);
Slice
(
Slice
&
);
Slice
(
const
Slice
&
);
Slice
();
bool
belong_to
(
faust_unsigned_int
min_i
,
faust_unsigned_int
max_i
);
bool
belong_to
(
Slice
&
s
);
void
copy
(
Slice
&
s
);
void
copy
(
const
Slice
&
s
);
static
void
swap
(
Slice
&
s1
,
Slice
&
s2
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment