add namespace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "http.h"
|
||||
#include "drive.h"
|
||||
#include <qrcodegen/qrcodegen.h>
|
||||
#include <qrcodegen.h>
|
||||
#include <fmt/format.h>
|
||||
|
||||
void printQr(const std::string& text) {
|
||||
@@ -23,7 +23,7 @@ void printQr(const std::string& text) {
|
||||
int main(int argc, char* argv[]) {
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
drive::ref c = new_drive(dt_alipan);
|
||||
auto c = drive::new_drive(drive::dt_alipan);
|
||||
if (!c->qrLogin(printQr)) return 1;
|
||||
|
||||
uint32_t choice = 0;
|
||||
|
||||
Reference in New Issue
Block a user