mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
Merge pull request #67 from bakercp/no_cpp11_codeblocks_win
Revert c++11 feature for better backward compatibility.
This commit is contained in:
commit
1697fe2c56
@ -24,7 +24,7 @@ static const DWORD hardware_id_max_length = 256;
|
|||||||
vector<PortInfo>
|
vector<PortInfo>
|
||||||
serial::list_ports()
|
serial::list_ports()
|
||||||
{
|
{
|
||||||
decltype( serial::list_ports() ) devices_found;
|
vector<PortInfo> devices_found;
|
||||||
|
|
||||||
HDEVINFO device_info_set = SetupDiGetClassDevs(
|
HDEVINFO device_info_set = SetupDiGetClassDevs(
|
||||||
(const GUID *) &GUID_DEVCLASS_PORTS,
|
(const GUID *) &GUID_DEVCLASS_PORTS,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user