Merge pull request #408 from lioncash/bool

Use a bool instead of an int to represent the initialized state in IOWin.cpp
This commit is contained in:
Pierre Bourdon 2014-05-25 02:25:56 +02:00
commit 010ca048df

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;