Skip to content

Commit

Permalink
Use openPMD::getVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed May 3, 2020
1 parent 5287a9b commit f140eee
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions include/picongpu/versionFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,7 @@ namespace picongpu

std::stringstream openPMD;
#if( ENABLE_OPENPMD == 1 )
openPMD << OPENPMDAPI_VERSION_MAJOR
<< "."
<< OPENPMDAPI_VERSION_MINOR
<< "."
<< OPENPMDAPI_VERSION_PATCH;
if ( OPENPMDAPI_VERSION_LABEL )
{
openPMD
<< "-"
<< OPENPMDAPI_VERSION_LABEL;
}
openPMD << openPMD::getVersion( );
#else
openPMD << versionNotFound;
#endif
Expand Down

0 comments on commit f140eee

Please sign in to comment.