Use a bool instead of an int to represent the initialized state in IOWin.cpp
This commit is contained in:
1 parent
440246a190
commit
728078bc09
1 file changed
+1
-1
@@ -71,7 +71,7 @@ PBth_BluetoothEnumerateInstalledServices Bth_BluetoothEnumerateInstalledServices
|
||||
HINSTANCE hid_lib = nullptr;
|
||||
HINSTANCE bthprops_lib = nullptr;
|
||||
|
||||
static int initialized = 0;
|
||||
static bool initialized = false;
|
||||
|
||||
std::unordered_map<BTH_ADDR, std::time_t> g_connect_times;
|
||||
|
||||
|
||||
Reference in new issue
Block a user