diff --git a/src/debug/real-time-logger.cpp b/src/debug/real-time-logger.cpp index 9bbcd4094cec0fe7763cc1eb22066157079db3b0..9e625bf5867eb51fbe15cc06a78fc0959ece7d4f 100644 --- a/src/debug/real-time-logger.cpp +++ b/src/debug/real-time-logger.cpp @@ -26,6 +26,8 @@ namespace dynamicgraph { RealTimeLogger::RealTimeLogger (const std::size_t& bufferSize) : buffer_(bufferSize, NULL) + , frontIdx_ (0) + , backIdx_ (0) , oss_ (NULL) , nbDiscarded_ (0) {