diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-06-06 23:28:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-06 23:28:07 +0000 |
commit | ae74e42d2557b93a3da9ef75c51ef1f6aab3cc0a (patch) | |
tree | b4c4210eaba1740d7ab3d9c81f7ee8513e44c2fb | |
parent | 5dfe1e81d42cd5de98490523ba2c1b9dadcffaff (diff) | |
parent | 8b47d316d253d05f92cf853d5b44cc28666848fe (diff) |
Merge "Fix exit-time-destructor warning"
-rw-r--r-- | adb/client/usb_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/client/usb_windows.cpp b/adb/client/usb_windows.cpp index 9751ebf79..f529e8f32 100644 --- a/adb/client/usb_windows.cpp +++ b/adb/client/usb_windows.cpp @@ -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(); |