Browse Source

Fix a missing plUUID function in *nix.

Darryl Pogue 10 years ago
parent
commit
01780b23f1
  1. 9
      Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp

9
Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp

@ -78,9 +78,14 @@ bool plUUID::IsNull() const
return ( uuid_is_null( g )!=0 ); return ( uuid_is_null( g )!=0 );
} }
void plUUID::CopyFrom( const plUUID * v ) void plUUID::CopyFrom(const plUUID* v)
{ {
memcpy( (void*)fData, (const void*)v->fData, sizeof(fData) ); memcpy((void*)fData, (const void*)v->fData, sizeof(fData));
}
void plUUID::CopyFrom(const plUUID& v)
{
memcpy((void*)fData, (const void*)v.fData, sizeof(fData));
} }
int plUUID::CompareTo( const plUUID * v ) const int plUUID::CompareTo( const plUUID * v ) const

Loading…
Cancel
Save