Index: device/test/usb_test_gadget.h |
diff --git a/device/test/usb_test_gadget.h b/device/test/usb_test_gadget.h |
index 2055ae9e04cf6cb22386425bb6a929ce931acc44..99110a1966ed640108b164f910b8014ef5055aec 100644 |
--- a/device/test/usb_test_gadget.h |
+++ b/device/test/usb_test_gadget.h |
@@ -35,7 +35,7 @@ class UsbTestGadget { |
virtual bool SetType(Type type) = 0; |
virtual UsbDevice* GetDevice() const = 0; |
- virtual std::string GetSerialNumber() const = 0; |
+ virtual const std::string& GetSerialNumber() const = 0; |
protected: |
UsbTestGadget() {} |