Skip to content

Commit d70fbab

Browse files
committed
fix
1 parent 03629c7 commit d70fbab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cp-algo/util/checkpoint.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
#include <map>
77
namespace cp_algo {
88
template<bool final = false>
9-
void checkpoint([[maybe_unused]] auto const& msg = "") {
9+
void checkpoint([[maybe_unused]] auto const& _msg = "") {
1010
#ifdef CP_ALGO_CHECKPOINT
11+
std::string msg = _msg;
1112
static std::map<std::string, double> checkpoints;
1213
static double last = 0;
1314
double now = (double)clock() / CLOCKS_PER_SEC;

0 commit comments

Comments
 (0)