mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Remove use of dynamic_cast.
PiperOrigin-RevId: 634559729
This commit is contained in:
committed by
Copybara-Service
parent
1097288e54
commit
5cddd51876
@@ -258,9 +258,6 @@ analytics::proto::SharingLog::AttachmentsInfo* GenerateAllocatedAttachmentInfo(
|
||||
analytics::proto::SharingLog::WifiCredentialsAttachment::
|
||||
default_instance()
|
||||
.New();
|
||||
wifi_credentials_attachment->set_security_type(
|
||||
dynamic_cast<WifiCredentialsAttachment*>(attachment.get())
|
||||
->security_type());
|
||||
wifi_credentials_attachment->set_source_type(
|
||||
GetLoggerAttachmentSourceType(attachment->source_type()));
|
||||
wifi_credentials_attachment->set_batch_id(attachment->batch_id());
|
||||
|
||||
Reference in New Issue
Block a user