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
15110fad
authored
Jan 19, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
algorithms_cpp: removed cppcheck style warnings
parent
9c3629c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
algorithms_cpp/test/count_test.cc
+1
-1
algorithms_cpp/test/for_each_test.cc
+1
-1
algorithms_cpp/test/reduce_test.cc
+1
-1
algorithms_cpp/test/scan_test.cc
+1
-1
No files found.
algorithms_cpp/test/count_test.cc
View file @
15110fad
...
...
@@ -32,7 +32,7 @@
#include <functional>
struct
IsEven
{
bool
operator
()(
int
val
)
{
bool
operator
()(
int
val
)
const
{
if
(
val
%
2
==
0
)
return
true
;
else
...
...
algorithms_cpp/test/for_each_test.cc
View file @
15110fad
...
...
@@ -38,7 +38,7 @@
*/
struct
Square
{
template
<
typename
Type
>
void
operator
()(
Type
&
l
)
{
void
operator
()(
Type
&
l
)
const
{
l
=
l
*
l
;
}
};
...
...
algorithms_cpp/test/reduce_test.cc
View file @
15110fad
...
...
@@ -36,7 +36,7 @@
*/
struct
Square
{
template
<
typename
Type
>
Type
operator
()(
Type
&
l
)
{
Type
operator
()(
Type
&
l
)
const
{
return
l
*
l
;
}
};
...
...
algorithms_cpp/test/scan_test.cc
View file @
15110fad
...
...
@@ -35,7 +35,7 @@
*/
struct
Square
{
template
<
typename
Type
>
Type
operator
()(
Type
&
l
)
{
Type
operator
()(
Type
&
l
)
const
{
return
l
*
l
;
}
};
...
...
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