Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: third_party/power_gadget/PowerGadgetLib.h

Issue 441083003: Fix clang warning for 'using namespace std' in a header file: PowerGadgetLib.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/power_gadget/PowerGadgetLib.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/power_gadget/PowerGadgetLib.h
diff --git a/third_party/power_gadget/PowerGadgetLib.h b/third_party/power_gadget/PowerGadgetLib.h
index 0655cd1383cc1d9843657c7227a6cb97be03bfed..59a23d836f384eb2943b5f747ad1b1a1690f6d2b 100644
--- a/third_party/power_gadget/PowerGadgetLib.h
+++ b/third_party/power_gadget/PowerGadgetLib.h
@@ -30,8 +30,6 @@
#include <Windows.h>
#include <string>
-using namespace std;
-
typedef bool (*IPGInitialize) ();
typedef bool (*IPGGetNumNodes) (int *nNodes);
typedef bool (*IPGGetNumMsrs) (int *nMsr);
@@ -73,7 +71,7 @@ public:
bool GetPowerData(int iNode, int iMSR, double *results, int *nResult);
bool StartLog(wchar_t *szFilename);
bool StopLog();
- string GetLastError();
+ std::string GetLastError();
private:
IPGInitialize pInitialize;
« no previous file with comments | « no previous file | third_party/power_gadget/PowerGadgetLib.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698