Skip to content
Snippets Groups Projects
Commit 44d11e7d authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

[BUGFIX] Fix Gatherv specialization for std::string when compiling without MPI

parent 36b61f14
Branches
Tags
No related merge requests found
...@@ -39,6 +39,11 @@ namespace mpi { ...@@ -39,6 +39,11 @@ namespace mpi {
template<> template<>
std::vector< std::string > gatherv( const std::vector< std::string > & values, int recvRank, MPI_Comm comm ) std::vector< std::string > gatherv( const std::vector< std::string > & values, int recvRank, MPI_Comm comm )
{ {
WALBERLA_NON_MPI_SECTION()
{
return std::vector< std::string >( values );
}
mpi::SendBuffer sb; mpi::SendBuffer sb;
mpi::RecvBuffer rb; mpi::RecvBuffer rb;
sb << values; sb << values;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment