VirtualBox

Changeset 93388 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 20, 2022 10:02:53 PM (3 years ago)
Author:
vboxsync
Message:

Main/Machine::i_setGuestPropertyToService: Removed unnecessary conversion via Bstr when creating a new guest property entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r93115 r93388  
    55595559                RTTIMESPEC time;
    55605560                HWData::GuestProperty prop;
    5561                 prop.strValue   = Bstr(aValue).raw();
     5561                prop.strValue   = aValue;
    55625562                prop.mTimestamp = RTTimeSpecGetNano(RTTimeNow(&time));
    55635563                prop.mFlags     = fFlags;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette