Use a bool instead of an int to represent the initialized state in IOWin.cpp

This commit is contained in:
Lioncash 2014-05-24 19:29:23 -04:00
parent 440246a190
commit 728078bc09

View file

@ -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;