Fix used uninitialized warning

This commit is contained in:
Mael Rouxel-Labbé 2025-03-23 22:22:33 +01:00
parent ec9b5fa21c
commit be7de12acb
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ struct Node_1
void set_time_stamp(const std::size_t& ts) { void set_time_stamp(const std::size_t& ts) {
time_stamp_ = ts; time_stamp_ = ts;
} }
std::size_t time_stamp_; std::size_t time_stamp_ = std::size_t(-2);
}; };
class Node_2 class Node_2