Skip to content

Commit

Permalink
COMP: Declare ConvertSecondsToDHMS and GetCurrentDateAndTime inline
Browse files Browse the repository at this point in the history
Allows these functions to be called from an executable that links against the elastix library.
  • Loading branch information
N-Dekker committed Aug 25, 2020
1 parent 4d0b6a7 commit a13a5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/Main/elastix.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void PrintHelp( void );
/** ConvertSecondsToDHMS
*
*/
inline
std::string
ConvertSecondsToDHMS( const double totalSeconds, const unsigned int precision = 0 )
{
Expand Down Expand Up @@ -78,6 +79,7 @@ ConvertSecondsToDHMS( const double totalSeconds, const unsigned int precision =


/** Returns current date and time as a string. */
inline
std::string
GetCurrentDateAndTime( void )
{
Expand Down

0 comments on commit a13a5a2

Please sign in to comment.