зеркало из https://github.com/electron/electron.git
chore: correct extra qualification causing build error with GCC (#37548)
* chore: correct extra qualification causing build error with GCC * fixup for lint * chore: fix lint --------- Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Родитель
08593fd2bd
Коммит
a0a44f07dd
|
@ -94,9 +94,8 @@ class ElectronHidDelegate : public content::HidDelegate,
|
|||
namespace base {
|
||||
|
||||
template <>
|
||||
struct base::ScopedObservationTraits<
|
||||
electron::HidChooserContext,
|
||||
electron::HidChooserContext::DeviceObserver> {
|
||||
struct ScopedObservationTraits<electron::HidChooserContext,
|
||||
electron::HidChooserContext::DeviceObserver> {
|
||||
static void AddObserver(
|
||||
electron::HidChooserContext* source,
|
||||
electron::HidChooserContext::DeviceObserver* observer) {
|
||||
|
|
|
@ -83,9 +83,8 @@ class ElectronSerialDelegate : public content::SerialDelegate,
|
|||
namespace base {
|
||||
|
||||
template <>
|
||||
struct base::ScopedObservationTraits<
|
||||
electron::SerialChooserContext,
|
||||
electron::SerialChooserContext::PortObserver> {
|
||||
struct ScopedObservationTraits<electron::SerialChooserContext,
|
||||
electron::SerialChooserContext::PortObserver> {
|
||||
static void AddObserver(
|
||||
electron::SerialChooserContext* source,
|
||||
electron::SerialChooserContext::PortObserver* observer) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче