summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-01 18:52:15 -0700
committerPatrick Venture <venture@google.com>2018-11-01 18:52:15 -0700
commit30047bf9647215951ba5dfe21ceb3e58a1b405a4 (patch)
treebbe9868b8130f57005c133b8241d62747965ccfc /test
parentf8d38bbebe990802ed01434fc3df5ba755eac58a (diff)
downloadphosphor-logging-30047bf9647215951ba5dfe21ceb3e58a1b405a4.tar.gz
phosphor-logging-30047bf9647215951ba5dfe21ceb3e58a1b405a4.zip
minor cleanup, std namespacing
Added std namespace to places where there is a cpp version. Change-Id: I60a05a7c9cdcd79cfffc3c4968005fcbe34acf81 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/remote_logging_test_config.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/remote_logging_test_config.cpp b/test/remote_logging_test_config.cpp
index 59feedd..a4c6207 100644
--- a/test/remote_logging_test_config.cpp
+++ b/test/remote_logging_test_config.cpp
@@ -1,6 +1,7 @@
#include "remote_logging_tests.hpp"
#include <fstream>
+#include <string>
namespace phosphor
{
@@ -13,7 +14,7 @@ std::string getConfig(const char* filePath)
{
std::fstream stream(filePath, std::fstream::in);
std::string line;
- getline(stream, line);
+ std::getline(stream, line);
return line;
}
OpenPOWER on IntegriCloud