lichao
2021-04-29 72bffb0807925a156b076b71f78c848a08d27b87
utest/util.h
@@ -20,6 +20,7 @@
#define UTIL_W8A0OA5U
#include "bh_util.h"
#include "shm.h"
#include "topic_node.h"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/noncopyable.hpp>
@@ -34,9 +35,8 @@
#include <vector>
using namespace boost::posix_time;
inline ptime Now() { return second_clock::universal_time(); };
using namespace std::chrono_literals;
using namespace std::chrono;
template <class D>
inline void Sleep(D d, bool print = true)
@@ -133,4 +133,6 @@
   }
};
bhome_shm::SharedMemory &TestShm();
#endif // end of include guard: UTIL_W8A0OA5U