Use C++ standard library includes

This commit is contained in:
Jack Andersen 2017-12-28 21:53:09 -10:00
parent 408ae926d7
commit beee8b3970
2 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,10 @@
#ifndef __LOG_VISOR_HPP__ #ifndef __LOG_VISOR_HPP__
#define __LOG_VISOR_HPP__ #define __LOG_VISOR_HPP__
#include <stdarg.h> #include <cstdarg>
#include <string.h> #include <cstring>
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <vector> #include <vector>
#include <atomic> #include <atomic>
#include <memory> #include <memory>

View File

@ -12,7 +12,7 @@
#include <unistd.h> #include <unistd.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <cxxabi.h> #include <cxxabi.h>
#include <string.h> #include <cstring>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
@ -21,8 +21,8 @@
#include <thread> #include <thread>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <stdio.h> #include <cstdio>
#include <inttypes.h> #include <cinttypes>
#include <signal.h> #include <signal.h>
#include "logvisor/logvisor.hpp" #include "logvisor/logvisor.hpp"