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>
diff --git a/phosphor-rsyslog-config/server-conf.cpp b/phosphor-rsyslog-config/server-conf.cpp
index 4bf167c..836e83b 100644
--- a/phosphor-rsyslog-config/server-conf.cpp
+++ b/phosphor-rsyslog-config/server-conf.cpp
@@ -13,6 +13,8 @@
#include <arpa/inet.h>
#include <netdb.h>
+#include <string>
+
namespace phosphor
{
namespace rsyslog_config
@@ -131,7 +133,7 @@
std::fstream stream(filePath, std::fstream::in);
std::string line;
- getline(stream, line);
+ std::getline(stream, line);
// Ignore if line is commented
if ('#' != line.at(0))