Partially revert r325011: restore Guid's default constructor
Reported by: ohartmann MFC after: 3 weeks X-MFC-With: 325011 Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
bf8d9a5b94
commit
33d9904abc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325016
@ -62,7 +62,11 @@ class Guid
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/* Constructors */
|
/* Constructors */
|
||||||
|
/* Default constructor: an Invalid guid */
|
||||||
|
Guid();
|
||||||
|
/* Construct a guid from a provided integer */
|
||||||
Guid(uint64_t guid);
|
Guid(uint64_t guid);
|
||||||
|
/* Construct a guid from a string in base 8, 10, or 16 */
|
||||||
Guid(const std::string &guid);
|
Guid(const std::string &guid);
|
||||||
static Guid InvalidGuid();
|
static Guid InvalidGuid();
|
||||||
|
|
||||||
@ -88,6 +92,12 @@ class Guid
|
|||||||
};
|
};
|
||||||
|
|
||||||
//- Guid Inline Public Methods ------------------------------------------------
|
//- Guid Inline Public Methods ------------------------------------------------
|
||||||
|
inline
|
||||||
|
Guid::Guid()
|
||||||
|
: m_GUID(INVALID_GUID)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
Guid::Guid(uint64_t guid)
|
Guid::Guid(uint64_t guid)
|
||||||
: m_GUID(guid)
|
: m_GUID(guid)
|
||||||
|
Loading…
Reference in New Issue
Block a user