Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Tobias Leibner
dune-common
Commits
5414c5be
Commit
5414c5be
authored
11 years ago
by
Steffen Müthing
Browse files
Options
Downloads
Patches
Plain Diff
[MPIHelper] Add DUNE_EXPORT hints to singleton accessors of MPIHelper
parent
c5d07599
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/common/parallel/mpihelper.hh
+4
-3
4 additions, 3 deletions
dune/common/parallel/mpihelper.hh
with
4 additions
and
3 deletions
dune/common/parallel/mpihelper.hh
+
4
−
3
View file @
5414c5be
...
...
@@ -12,6 +12,7 @@
#endif
#include
<dune/common/stdstreams.hh>
#include
<dune/common/visibility.hh>
namespace
Dune
{
...
...
@@ -86,7 +87,7 @@ namespace Dune
*
* \returns a fake communicator
*/
static
MPICommunicator
getCommunicator
()
DUNE_EXPORT
static
MPICommunicator
getCommunicator
()
{
static
MPICommunicator
comm
;
return
comm
;
...
...
@@ -126,7 +127,7 @@ namespace Dune
* @param argc The number of arguments provided to main.
* @param argv The arguments provided to main.
*/
static
FakeMPIHelper
&
instance
(
int
argc
,
char
**
argv
)
DUNE_EXPORT
static
FakeMPIHelper
&
instance
(
int
argc
,
char
**
argv
)
{
// create singleton instance
static
FakeMPIHelper
singleton
;
...
...
@@ -213,7 +214,7 @@ namespace Dune
* @param argc The number of arguments provided to main.
* @param argv The arguments provided to main.
*/
static
MPIHelper
&
instance
(
int
&
argc
,
char
**&
argv
)
DUNE_EXPORT
static
MPIHelper
&
instance
(
int
&
argc
,
char
**&
argv
)
{
// create singleton instance
static
MPIHelper
singleton
(
argc
,
argv
);
...
...
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