Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
amdis
amdis-core
Commits
7ee95763
Commit
7ee95763
authored
Oct 15, 2020
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change position of deprecated attribute
parent
133356fc
Pipeline
#5102
passed with stage
in 48 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
amdis/AMDiS.hpp
amdis/AMDiS.hpp
+7
-4
No files found.
amdis/AMDiS.hpp
View file @
7ee95763
...
...
@@ -15,7 +15,8 @@ namespace AMDiS
{
/// Initialized the Environment for MPI.
/**
* NOTE: deprecated
* \deprecated
*
* Use \ref Environment at the beginning of the main() instead:
*
* int main(int argc, char** argv) {
...
...
@@ -24,17 +25,19 @@ namespace AMDiS
* }
*
**/
inline
void
[[
deprecated
]]
init
(
int
&
argc
,
char
**&
argv
,
std
::
string
const
&
initFileName
=
""
)
[[
deprecated
(
"Use Environment at the beginning of main() instead"
)]]
inline
void
init
(
int
&
argc
,
char
**&
argv
,
std
::
string
const
&
initFileName
=
""
)
{
static
Environment
env
(
argc
,
argv
,
initFileName
);
}
/// Closes the MPI environment
/**
*
NOTE:
deprecated
*
\
deprecated
*
* The \ref Environment is closed automatically on destruction.
**/
inline
void
[[
deprecated
]]
finalize
()
{
/* no nothing */
}
[[
deprecated
(
"Use Environment at the beginning of main() instead"
)]]
inline
void
finalize
()
{
/* no nothing */
}
}
// end namespace AMDiS
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