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; |