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
1a2eaf85
authored
Oct 08, 2014
by
Tobias Schuele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved Clang warnings about unused variables in object pool implementation.
parent
d69ac716
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
containers_cpp/include/embb/containers/internal/object_pool-inl.h
+1
-1
containers_cpp/include/embb/containers/object_pool.h
+1
-1
containers_cpp/test/object_pool_test.h
+0
-3
No files found.
containers_cpp/include/embb/containers/internal/object_pool-inl.h
View file @
1a2eaf85
...
@@ -49,7 +49,7 @@ ReturningTrueIterator::operator++() {
...
@@ -49,7 +49,7 @@ ReturningTrueIterator::operator++() {
template
<
class
T
,
typename
ValuePool
,
class
ObjectAllocator
>
template
<
class
T
,
typename
ValuePool
,
class
ObjectAllocator
>
typename
ObjectPool
<
T
,
ValuePool
,
ObjectAllocator
>::
typename
ObjectPool
<
T
,
ValuePool
,
ObjectAllocator
>::
ReturningTrueIterator
::
self_type
ObjectPool
<
T
,
ValuePool
,
ObjectAllocator
>::
ReturningTrueIterator
::
self_type
ObjectPool
<
T
,
ValuePool
,
ObjectAllocator
>::
ReturningTrueIterator
::
operator
++
(
int
junk
)
{
ReturningTrueIterator
::
operator
++
(
int
)
{
count_value
++
;
count_value
++
;
return
*
this
;
return
*
this
;
}
}
...
...
containers_cpp/include/embb/containers/object_pool.h
View file @
1a2eaf85
...
@@ -94,7 +94,7 @@ class ObjectPool {
...
@@ -94,7 +94,7 @@ class ObjectPool {
typedef
int
difference_type
;
typedef
int
difference_type
;
explicit
ReturningTrueIterator
(
size_t
count_value
);
explicit
ReturningTrueIterator
(
size_t
count_value
);
self_type
operator
++
();
self_type
operator
++
();
self_type
operator
++
(
int
junk
);
self_type
operator
++
(
int
);
reference
operator
*
();
reference
operator
*
();
pointer
operator
->
();
pointer
operator
->
();
bool
operator
==
(
const
self_type
&
rhs
);
bool
operator
==
(
const
self_type
&
rhs
);
...
...
containers_cpp/test/object_pool_test.h
View file @
1a2eaf85
...
@@ -36,9 +36,6 @@ namespace containers {
...
@@ -36,9 +36,6 @@ namespace containers {
namespace
test
{
namespace
test
{
class
ObjectPoolTestStruct
{
class
ObjectPoolTestStruct
{
private
:
private
:
int
a
;
int
b
;
int
c
[
40
];
int
thread_id
;
int
thread_id
;
public
:
public
:
explicit
ObjectPoolTestStruct
(
int
thread_id
);
explicit
ObjectPoolTestStruct
(
int
thread_id
);
...
...
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