refactor: convert more C++ enums to C++11 enum classes (#26850)

This commit is contained in:
Milan Burda 2020-12-08 05:39:33 +01:00 committed by GitHub
parent 3bc220db29
commit c9b813a1f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 38 deletions

View file

@ -26,7 +26,7 @@ namespace electron {
namespace api {
#if defined(OS_MAC)
enum NotificationCenterKind {
enum class NotificationCenterKind {
kNSDistributedNotificationCenter = 0,
kNSNotificationCenter,
kNSWorkspaceNotificationCenter,