From 63eeb96e710d9786c6704b243097ee7ddb97afff Mon Sep 17 00:00:00 2001 From: Ales Pergl Date: Mon, 3 Apr 2017 11:23:36 +0200 Subject: [PATCH] Address cpplint issue "Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]" --- .../desktop_notification_controller.cc | 3 ++- brightray/browser/win/win32_desktop_notifications/toast.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc index a56f6000e4..7213f4382c 100644 --- a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -7,7 +7,8 @@ #include "browser/win/win32_desktop_notifications/common.h" #include "browser/win/win32_desktop_notifications/toast.h" -using namespace std; +using std::make_shared; +using std::shared_ptr; namespace brightray { diff --git a/brightray/browser/win/win32_desktop_notifications/toast.cc b/brightray/browser/win/win32_desktop_notifications/toast.cc index 62aacdb1d0..e11eea5f4d 100644 --- a/brightray/browser/win/win32_desktop_notifications/toast.cc +++ b/brightray/browser/win/win32_desktop_notifications/toast.cc @@ -8,7 +8,8 @@ #pragma comment(lib, "msimg32.lib") #pragma comment(lib, "uxtheme.lib") -using namespace std; +using std::min; +using std::shared_ptr; namespace brightray {