mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Remove all uses of GuidToString.
This commit is contained in:
@ -7,10 +7,12 @@ set(pnUUID_SOURCES
|
||||
|
||||
if(WIN32)
|
||||
set(pnUUID_SOURCES ${pnUUID_SOURCES} pnUUID_Win32.cpp)
|
||||
else(WIN32)
|
||||
set(pnUUID_SOURCES ${pnUUID_SOURCES} pnUUID_Unix.cpp)
|
||||
endif(WIN32)
|
||||
|
||||
if(UNIX)
|
||||
set(pnUUID_SOURCES ${pnUUID_SOURCES} pnUUID_Unix.cpp)
|
||||
endif(UNIX)
|
||||
|
||||
set(pnUUID_HEADERS
|
||||
pnUUID.h
|
||||
)
|
||||
|
@ -47,12 +47,7 @@ plUUID::plUUID()
|
||||
Clear();
|
||||
}
|
||||
|
||||
plUUID::plUUID(const plString & s)
|
||||
{
|
||||
FromString(s);
|
||||
}
|
||||
|
||||
plUUID::plUUID(const char * s)
|
||||
plUUID::plUUID(const plString& s)
|
||||
{
|
||||
FromString(s.c_str());
|
||||
}
|
||||
@ -67,13 +62,13 @@ plUUID::plUUID(const Uuid& uuid)
|
||||
memcpy(fData, uuid.data, sizeof(fData));
|
||||
}
|
||||
|
||||
void plUUID::Read(hsStream * s)
|
||||
void plUUID::Read(hsStream* s)
|
||||
{
|
||||
s->LogSubStreamPushDesc("plUUID");
|
||||
s->Read(sizeof(fData), (void*)fData);
|
||||
}
|
||||
|
||||
void plUUID::Write(hsStream * s)
|
||||
void plUUID::Write(hsStream* s)
|
||||
{
|
||||
s->Write(sizeof(fData), (const void*)fData);
|
||||
}
|
||||
|
@ -126,12 +126,4 @@ plUUID plUUID::Generate()
|
||||
return result;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
// dummy function to prevent a linker warning complaining about no public symbols if the
|
||||
// contents of the file get compiled out via pre-processor
|
||||
void _preventLNK4221WarningStub()
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user