Skip to content

Commit f5cb428

Browse files
committed
print current dsga version number when running test runner, attempt 2
1 parent c8969e9 commit f5cb428

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//#include "nanobench.h"
88
#include "dsga.hxx"
99
#include <iostream>
10-
#include <format>
1110

1211
//
1312
//
@@ -20,7 +19,7 @@
2019
// print current version number
2120
void print_dsga_version()
2221
{
23-
std::cout << std::format("\ndsga version: v{}.{}.{}\n\n", DSGA_MAJOR_VERSION, DSGA_MINOR_VERSION, DSGA_PATCH_VERSION);
22+
std::cout << "\ndsga version: v" << DSGA_MAJOR_VERSION << "." << DSGA_MINOR_VERSION << "." << DSGA_PATCH_VERSION << "\n\n";
2423
}
2524

2625
// this function is a place to just test out whatever

0 commit comments

Comments
 (0)