Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
4c3fb320
Commit
4c3fb320
authored
7 years ago
by
Atkins, Charles Vernon
Browse files
Options
Downloads
Patches
Plain Diff
Fix clang-tidy issues in STLVector
parent
ba12399b
No related branches found
No related tags found
1 merge request
!21
Fix clang tidy errors
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/capsule/heap/STLVector.h
+2
-3
2 additions, 3 deletions
include/capsule/heap/STLVector.h
source/capsule/heap/STLVector.cpp
+4
-7
4 additions, 7 deletions
source/capsule/heap/STLVector.cpp
with
6 additions
and
10 deletions
include/capsule/heap/STLVector.h
+
2
−
3
View file @
4c3fb320
...
...
@@ -40,10 +40,9 @@ public:
* @param rankMPI MPI rank
* @param debugMode true: extra checks, slower
*/
STLVector
(
const
std
::
string
accessMode
,
const
int
rankMPI
,
const
bool
debugMode
=
false
);
STLVector
(
std
::
string
accessMode
,
int
rankMPI
,
bool
debugMode
=
false
);
~
STLVector
();
~
STLVector
()
=
default
;
char
*
GetData
();
char
*
GetMetadata
();
...
...
This diff is collapsed.
Click to expand it.
source/capsule/heap/STLVector.cpp
+
4
−
7
View file @
4c3fb320
...
...
@@ -20,15 +20,12 @@ namespace adios
namespace
capsule
{
STLVector
::
STLVector
(
const
std
::
string
accessMode
,
const
int
rankMPI
,
const
bool
debugMode
)
:
Capsule
(
"Heap"
,
accessMode
,
rankMPI
,
debugMode
)
STLVector
::
STLVector
(
std
::
string
accessMode
,
int
rankMPI
,
bool
debugMode
)
:
Capsule
{
"Heap"
,
std
::
move
(
accessMode
),
rankMPI
,
debugMode
}
{
m_Data
.
reserve
(
16777216
);
}
STLVector
::~
STLVector
()
{}
char
*
STLVector
::
GetData
()
{
return
m_Data
.
data
();
}
char
*
STLVector
::
GetMetadata
()
{
return
m_Metadata
.
data
();
}
...
...
@@ -79,5 +76,5 @@ void STLVector::ResizeMetadata(const std::size_t size)
}
}
}
// end namespace
heap
}
// end namespace
}
// end namespace
capsule
}
// end namespace
adios
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