Changeset 86784 in vbox
- Timestamp:
- Nov 2, 2020 4:54:17 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 141210
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UICloudEntityKey.cpp
r86783 r86784 39 39 { 40 40 return true 41 && m_strProviderShortName == another.m_strProviderShortName 42 && m_strProfileName == another.m_strProfileName 43 && m_uMachineId == another.m_uMachineId 41 && toString() == another.toString() 42 ; 43 } 44 45 bool UICloudEntityKey::operator<(const UICloudEntityKey &another) const 46 { 47 return true 48 && toString() < another.toString() 44 49 ; 45 50 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UICloudEntityKey.h
r86783 r86784 27 27 #include <QUuid> 28 28 29 /** Cloud entity key definition. */ 29 /** Cloud entity key definition. 30 * This is a key for various indexed containers, 31 * allowing to distinguish one cloud entity from another. */ 30 32 struct UICloudEntityKey 31 33 { … … 42 44 /** Returns whether this one key equals to @a another one. */ 43 45 bool operator==(const UICloudEntityKey &another) const; 46 /** Returns whether this one key is less than @a another one. */ 47 bool operator<(const UICloudEntityKey &another) const; 44 48 45 49 /** Returns string key representation. */
Note:
See TracChangeset
for help on using the changeset viewer.