Skip to content
Snippets Groups Projects
Commit 5414c5be authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[MPIHelper] Add DUNE_EXPORT hints to singleton accessors of MPIHelper

parent c5d07599
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment