Merge "Fix exit-time-destructor warning" am: ae74e42d25

am: a40b43eb45

Change-Id: I949f06ec7335a9f0fd6b285885b214d0cbe038b9
This commit is contained in:
Pirama Arumuga Nainar 2018-06-06 18:58:32 -07:00 committed by android-build-merger
commit 7d2fc04d1b

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();