1
0
Fork 0

set correct bits for UUID type

This commit is contained in:
Kevin Matz 2021-08-22 15:34:55 -04:00
parent a496cca21e
commit ce575e983e
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ void uuid::setRFC4122Bytes_()
// version
raw_[7] = (raw_[7] & 0x0f) | (version_ << 4);
// type
raw_[8] = (raw_[8] & 0b00111111) | (type_ << 6);
raw_[8] = (raw_[8] & 0b00111111) | (0b10 << 6);
}