in the Casimir::formattedTime() of the file private-context.cpp
See https://en.cppreference.com/w/c/chrono/gmtime for further information about gmtime and gmtime_s.
It will required the use of the Mutex class in the future to make this possibly thread-safe. We could also use gmtime_r but it won't be available on every platform
Furthermore i don't know if the usage of gmtime (that return a pointer) actually get ride-of this pointer once used (probability not). So we should find a better way to do so...
The
gmtime
andgmtime_s
may not be thread-safeSee https://en.cppreference.com/w/c/chrono/gmtime for further information about
gmtime
andgmtime_s
. It will required the use of theMutex
class in the future to make this possibly thread-safe. We could also usegmtime_r
but it won't be available on every platform