Changeset 106903 in vbox for trunk/src/VBox/Main/include/ObjectsTracker.h
- Timestamp:
- Nov 9, 2024 12:38:48 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ObjectsTracker.h
r106902 r106903 150 150 }; 151 151 152 /** The string representation for object IDs in the internal map.153 * @todo r=bird: Why are you using std::string here? We use should use154 * com::Utf8Str where possible. In this case, though, it's a com::Guid155 * which would have much more efficient storage compared to both the156 * string variants... */157 #if 0 /* The solaris VM seems to have trouble with this or something related to it. */158 typedef std::string ObjIdString_T;159 #else160 typedef com::Utf8Str ObjIdString_T;161 #endif162 152 163 153 ///////////////////////////////////////////////////////////////////////////// … … 171 161 std::set<com::Utf8Str> m_trackedObjectIds;//Full list of valid + invalid objects 172 162 std::set<com::Utf8Str> m_trackedInvalidObjectIds;//List of invalid objects only 173 std::map< ObjIdString_T, TrackedObjectData> m_trackedObjectsData;//Mapping Object Id -> Object Data163 std::map<com::Utf8Str, TrackedObjectData> m_trackedObjectsData;//Mapping Object Id -> Object Data 174 164 175 165 uint64_t m_Added;//Counter of the added objects
Note:
See TracChangeset
for help on using the changeset viewer.