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
88fe60b1
Commit
88fe60b1
authored
7 years ago
by
williamfgc
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #128 from williamfgc/transportManBug
Fixed noexcept function throwing exception
parents
6c8f9672
772bb1ae
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
source/adios2/toolkit/transportman/TransportMan.cpp
+1
-1
1 addition, 1 deletion
source/adios2/toolkit/transportman/TransportMan.cpp
source/adios2/toolkit/transportman/TransportMan.h
+8
-1
8 additions, 1 deletion
source/adios2/toolkit/transportman/TransportMan.h
with
9 additions
and
2 deletions
source/adios2/toolkit/transportman/TransportMan.cpp
+
1
−
1
View file @
88fe60b1
...
...
@@ -123,7 +123,7 @@ TransportMan::GetTransportsProfilers() noexcept
}
void
TransportMan
::
CloseFiles
(
const
int
transportIndex
,
const
char
*
buffer
,
const
size_t
size
)
noexcept
const
size_t
size
)
{
if
(
transportIndex
==
-
1
)
{
...
...
This diff is collapsed.
Click to expand it.
source/adios2/toolkit/transportman/TransportMan.h
+
8
−
1
View file @
88fe60b1
...
...
@@ -94,8 +94,15 @@ public:
* m_Transports.m_Profiler */
std
::
vector
<
profiling
::
IOChrono
*>
GetTransportsProfilers
()
noexcept
;
/**
* Close file or files depending on transport index. Throws an exception
* if transport is not a file when transportIndex > -1.
* @param transportIndex -1: all transports, otherwise index in m_Transports
* @param buffer pass buffer to be sent to transport
* @param size passes the buffer size
*/
void
CloseFiles
(
const
int
transportIndex
,
const
char
*
buffer
,
const
size_t
size
)
noexcept
;
const
size_t
size
);
/** Checks if all transports are closed */
bool
AllTransportsClosed
()
const
noexcept
;
...
...
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