VirtualBox

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


Ignore:
Timestamp:
Aug 21, 2019 2:51:02 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132838
Message:

com/array.h: handling empty base elements better (hopefully will eliminate static code analysis issues) by using a const array as the representation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/com.cpp

    r76553 r80373  
    5858const Guid Guid::Empty; /* default ctor is OK */
    5959
    60 #if defined (VBOX_WITH_XPCOM)
    61 
    62 /* static */
    63 const nsID *SafeGUIDArray::nsIDRef::Empty = (const nsID *)Guid::Empty.raw();
    64 
    65 #endif /* (VBOX_WITH_XPCOM) */
    66 
     60const char Zeroes[16] = {0, };
    6761
    6862
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