| Index: device/u2f/u2f_hid_device.cc
|
| diff --git a/device/u2f/u2f_hid_device.cc b/device/u2f/u2f_hid_device.cc
|
| index c313b96e4c165aab270e68e616c552fa4401d62c..9438c67ab8c4b408252909e33a6c03aaf0d8da38 100644
|
| --- a/device/u2f/u2f_hid_device.cc
|
| +++ b/device/u2f/u2f_hid_device.cc
|
| @@ -298,7 +298,7 @@ void U2fHidDevice::OnWink(const WinkCallback& callback,
|
| }
|
|
|
| std::string U2fHidDevice::GetId() {
|
| - std::ostringstream id("hid:");
|
| + std::ostringstream id("hid:", std::ios::ate);
|
| id << device_info_->device_id();
|
| return id.str();
|
| }
|
|
|