summaryrefslogtreecommitdiffstats
path: root/test/remote_logging_test_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/remote_logging_test_config.cpp')
-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