From 7402dcdd6a58a0178db28f25e0d5dcad49918281 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Mon, 10 Apr 2023 22:02:43 +0800 Subject: [PATCH] clean:remove std::wstring std::wstring is not a proper implemention on Windows, will face cross platform issues --- mainwindow.cc | 1 - scanpopup.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/mainwindow.cc b/mainwindow.cc index 47de54017..bab277075 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -76,7 +76,6 @@ #define MIN_THREAD_COUNT 4 using std::set; -using std::wstring; using std::map; using std::pair; diff --git a/scanpopup.cc b/scanpopup.cc index aa4bccfcb..add822825 100644 --- a/scanpopup.cc +++ b/scanpopup.cc @@ -20,7 +20,6 @@ #define MouseOver MacMouseOver #endif #include "base_type.h" -using std::wstring; /// We use different window flags under Windows and X11 due to slight differences /// in their behavior on those platforms.