diff --git a/Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp b/Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp index 565fbc51..4860c50d 100644 --- a/Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp +++ b/Sources/Plasma/NucleusLib/pnUUID/pnUUID_Unix.cpp @@ -78,9 +78,14 @@ bool plUUID::IsNull() const 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