Remove useless static cast
This commit is contained in:
parent
1f87766b86
commit
878217372b
|
@ -32,7 +32,7 @@ void Init() {
|
||||||
|
|
||||||
if (auto room_member = Network::GetRoomMember().lock()) {
|
if (auto room_member = Network::GetRoomMember().lock()) {
|
||||||
if (room_member->IsConnected()) {
|
if (room_member->IsConnected()) {
|
||||||
mac = static_cast<SharedPage::MacAddress>(room_member->GetMacAddress());
|
mac = room_member->GetMacAddress();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SharedPage::SetMacAddress(mac);
|
SharedPage::SetMacAddress(mac);
|
||||||
|
|
Loading…
Reference in New Issue