mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: clang-tidy warnings, pt. 1 (#49083)
* fix: google-readability-casting warning about the uint32_t cast * fix: modernize-use-equals-default warnings * fix: readability-redundant-member-init warning * fix: modernize-make-unique warnings * fix: modernize-use-emplace warning: use emplace_back instead of push_back * refactor: address code review feedback
This commit is contained in:
@@ -52,7 +52,7 @@ namespace electron::api {
|
||||
gin::DeprecatedWrapperInfo GlobalShortcut::kWrapperInfo = {
|
||||
gin::kEmbedderNativeGin};
|
||||
|
||||
GlobalShortcut::GlobalShortcut() {}
|
||||
GlobalShortcut::GlobalShortcut() = default;
|
||||
|
||||
GlobalShortcut::~GlobalShortcut() {
|
||||
UnregisterAll();
|
||||
|
||||
Reference in New Issue
Block a user