commit | bf0609c03f766d55789b27e22ebd7b26b51acbb0 | [log] [tgz] |
---|---|---|
author | Tyler Chatow <tchatow@gmail.com> | Sat Jul 31 16:13:27 2021 -0700 |
committer | Tyler Chatow <tchatow@gmail.com> | Sat Jul 31 16:58:22 2021 -0700 |
tree | d0eb625031e165752bdc52ef2ab9069a509afb33 | |
parent | ad6e1e8e6f0416cdc13bd94c4c117ea677c5719e [diff] [blame] |
Replace use of deprecated C Standard library headers in C++ code. Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/aos/time/time.cc b/aos/time/time.cc index 89f1c4d..697770c 100644 --- a/aos/time/time.cc +++ b/aos/time/time.cc
@@ -1,10 +1,9 @@ #include "aos/time/time.h" -#include <inttypes.h> -#include <string.h> - #include <algorithm> #include <chrono> +#include <cinttypes> +#include <cstring> #include <ctime> #include <iomanip>