mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Make plUUID work in *nix.
This commit is contained in:
@ -8,6 +8,8 @@ set(plUUID_SOURCES
|
||||
|
||||
if(WIN32)
|
||||
set(plUUID_SOURCES ${plUUID_SOURCES} plUUID_Win32.cpp)
|
||||
else(WIN32)
|
||||
set(plUUID_SOURCES ${plUUID_SOURCES} plUUID_Unix.cpp)
|
||||
endif(WIN32)
|
||||
|
||||
set(plUUID_HEADERS
|
||||
|
@ -90,7 +90,7 @@ bool plUUID::FromString( const char * str )
|
||||
return true;
|
||||
}
|
||||
|
||||
bool plUUID::ToString( std::string & out ) const
|
||||
bool plUUID::ToStdString( std::string & out ) const
|
||||
{
|
||||
uuid_t g;
|
||||
plUUIDHelper::CopyToNative( g, this );
|
||||
@ -100,13 +100,6 @@ bool plUUID::ToString( std::string & out ) const
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string plUUID::ToString() const
|
||||
{
|
||||
std::string str;
|
||||
plUUID::ToString( str );
|
||||
return str;
|
||||
}
|
||||
|
||||
// static
|
||||
plUUID plUUID::Generate()
|
||||
{
|
||||
@ -125,4 +118,4 @@ void _preventLNK4221WarningStub()
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user