From f5c123f6e78b25fb325c391a3c2ffeccf930f316 Mon Sep 17 00:00:00 2001 From: endian11 <Dana_Lee1016@126.com> Date: 星期二, 29 九月 2020 15:55:10 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge into lowprecision --- lib/src/main/cpp/utils/xconvert.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/src/main/cpp/utils/xconvert.h b/lib/src/main/cpp/utils/xconvert.h index 9821df7..27e0bdd 100644 --- a/lib/src/main/cpp/utils/xconvert.h +++ b/lib/src/main/cpp/utils/xconvert.h @@ -6,6 +6,8 @@ #define MYAPPLICATION2_XCONVERT_H #include <cstdint> +#include <string> +#include <vector> double ConvertKMh2Ms(int kmh); double ConvertMs2KMh(double ms); @@ -17,4 +19,6 @@ uint32_t TimeMakeComposite(int hour, int minute, int second, int msecond); uint32_t TimeGetDiff(int hour1, int minute1, int second1, int msecond1, int hour2, int minute2, int second2, int msecond2); +std::vector<std::string> split(std::string str, std::string pattern); + #endif //MYAPPLICATION2_XCONVERT_H -- Gitblit v1.8.0