Changeset 61009 in vbox for trunk/src/VBox/Main/src-all
- Timestamp:
- May 17, 2016 5:18:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/PCIDeviceAttachmentImpl.cpp
r58959 r61009 7 7 8 8 /* 9 * Copyright (C) 2010-201 2Oracle Corporation9 * Copyright (C) 2010-2016 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 23 23 #include "Logging.h" 24 24 25 #include <VBox/settings.h> 26 25 27 struct PCIDeviceAttachment::Data 26 28 { 27 Data(const Bstr&aDevName,29 Data(const Utf8Str &aDevName, 28 30 LONG aHostAddress, 29 31 LONG aGuestAddress, … … 35 37 } 36 38 37 BstrDevName;39 Utf8Str DevName; 38 40 LONG HostAddress; 39 41 LONG GuestAddress; … … 61 63 ///////////////////////////////////////////////////////////////////////////// 62 64 HRESULT PCIDeviceAttachment::init(IMachine *aParent, 63 const Bstr&aDevName,65 const Utf8Str &aDevName, 64 66 LONG aHostAddress, 65 67 LONG aGuestAddress, … … 83 85 const settings::HostPCIDeviceAttachment &hpda) 84 86 { 85 Bstr bname(hpda.strDeviceName); 86 return init(aParent, bname, hpda.uHostAddress, hpda.uGuestAddress, TRUE); 87 return init(aParent, hpda.strDeviceName, hpda.uHostAddress, hpda.uGuestAddress, TRUE); 87 88 } 88 89
Note:
See TracChangeset
for help on using the changeset viewer.