Merge "Fix exit-time-destructor warning"

This commit is contained in:
Treehugger Robot 2018-06-06 23:28:07 +00:00 committed by Gerrit Code Review
commit ae74e42d25
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ struct usb_handle : public ::usb_handle {
static const GUID usb_class_id = ANDROID_USB_CLASS_ID;
/// List of opened usb handles
static std::vector<usb_handle*> handle_list;
static std::vector<usb_handle*>& handle_list = *new std::vector<usb_handle*>();
/// Locker for the list of opened usb handles
static std::mutex& usb_lock = *new std::mutex();