重新设置代码格式
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
|
||||
class Crawler {
|
||||
public:
|
||||
using Call_back = std::function<void(std::string hex, std::string icaoType,
|
||||
@@ -33,7 +32,7 @@ public:
|
||||
)sql");
|
||||
}
|
||||
|
||||
bool check_aircraft_exists(SQLite::Database& db, const std::string& icao) {
|
||||
bool check_aircraft_exists(SQLite::Database &db, const std::string &icao) {
|
||||
// 查询是否存在该icao
|
||||
static auto stmt_check_ = SQLite::Statement(db, R"sql(
|
||||
SELECT COUNT(*) FROM aircraft_json WHERE icao = ?;
|
||||
|
||||
Reference in New Issue
Block a user