Commit 4fc6f3c0 authored by vivek.vg@samsung.com's avatar vivek.vg@samsung.com

Fix clang warning for 'using namespace std' in a header file: PowerGadgetLib.h

Removed the 'using namespace std' directive from the header with using qualified
name for string as std::string.

TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/441083003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287758 0039d316-1c4b-4281-b951-d872f2087c98
parent f0c8bb74
......@@ -28,8 +28,6 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "PowerGadgetLib.h"
#include <Windows.h>
#include <string>
#include <vector>
using namespace std;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment