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
1 changed files with 1 additions and 1 deletions

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;