VirtualBox

Changeset 10871 in vbox


Ignore:
Timestamp:
Jul 24, 2008 8:25:14 PM (16 years ago)
Author:
vboxsync
Message:

Try fix the logging crashes because of ComPtr being passed through '...' instead of the pointer.

File:
1 edited

Legend:

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

    r10868 r10871  
    377377
    378378    AutoWriteLock alock (this);
    379     LogFlowThisFunc (("obj=%p name=%s\n", baseMetric->getObject(), baseMetric->getName()));
     379    LogFlowThisFunc (("obj=%p name=%s\n", (void *)baseMetric->getObject(), baseMetric->getName()));
    380380    m.baseMetrics.push_back (baseMetric);
    381381    LogFlowThisFuncLeave();
     
    389389
    390390    AutoWriteLock alock (this);
    391     LogFlowThisFunc (("obj=%p name=%s\n", metric->getObject(), metric->getName()));
     391    LogFlowThisFunc (("obj=%p name=%s\n", (void *)metric->getObject(), metric->getName()));
    392392    m.metrics.push_back (metric);
    393393    LogFlowThisFuncLeave();
     
    401401
    402402    AutoWriteLock alock (this);
    403     LogFlowThisFunc (("before remove_if: m.baseMetrics.size()=%d, obj=%p\n", m.baseMetrics.size(), aObject));
     403    LogFlowThisFunc (("before remove_if: m.baseMetrics.size()=%d, obj=%p\n", m.baseMetrics.size(), (void *)aObject));
    404404    BaseMetricList::iterator it = std::remove_if (
    405405        m.baseMetrics.begin(), m.baseMetrics.end(), std::bind2nd (
     
    417417
    418418    AutoWriteLock alock (this);
    419     LogFlowThisFunc (("obj=%p\n", aObject));
     419    LogFlowThisFunc (("obj=%p\n", (void *)aObject));
    420420    MetricList::iterator it = std::remove_if (
    421421        m.metrics.begin(), m.metrics.end(), std::bind2nd (
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