VirtualBox

Changeset 20826 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 23, 2009 12:58:13 PM (16 years ago)
Author:
vboxsync
Message:

Main: fixed bug in metric names reading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/PerformanceImpl.cpp

    r19161 r20826  
    181181    for (size_t i = 0; i < RT_ELEMENTS(gMetricNames); i++)
    182182    {
    183         gMetricNames[i].detachTo(&metricNames[i]);
     183        Bstr(gMetricNames[i]).cloneTo(&metricNames[i]);
    184184    }
    185185    //gMetricNames.detachTo(ComSafeArrayOutArg (theMetricNames));
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