Replace C-style casts with static_cast.
This commit is contained in:
parent
ff745e1a82
commit
e8abee9ca9
5 changed files with 15 additions and 15 deletions
|
@ -180,7 +180,7 @@ std::string Browser::GetExecutableFileProductName() const {
|
|||
|
||||
int Browser::DockBounce(BounceType type) {
|
||||
return [[AtomApplication sharedApplication]
|
||||
requestUserAttention:(NSRequestUserAttentionType)type];
|
||||
requestUserAttention:static_cast<NSRequestUserAttentionType>(type)];
|
||||
}
|
||||
|
||||
void Browser::DockCancelBounce(int request_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue