VirtualBox

Ignore:
Timestamp:
Sep 27, 2010 7:00:22 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66229
Message:

com/Guid: remove conversion operators to eliminate any compiler surprises. Caught one totally unexpected issue which was indirectly caused by the similar Bstr cleanup, as there still is a Bstr->Guid conversion and thus the Guid magic was triggered

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.h

    r30681 r32780  
    306306        // QueryInterface tests whether p actually supports the templated T interface desired by caller
    307307        T *pT;
    308         pobjUnknown->QueryInterface(guidCaller, (void**)&pT);      // this adds a reference count
     308        pobjUnknown->QueryInterface(guidCaller.ref(), (void**)&pT);      // this adds a reference count
    309309        if (pT)
    310310        {
Note: See TracChangeset for help on using the changeset viewer.

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