From: Christian Hofstaedtler Date: Fri, 10 May 2013 12:04:40 +0000 (+0200) Subject: fix string type usage X-Git-Tag: auth-3.3-rc1~77^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05afd14a3785387003b6f0439021fecb83d0595f;p=thirdparty%2Fpdns.git fix string type usage --- diff --git a/pdns/version.cc b/pdns/version.cc index e46b49652f..577d4bb348 100644 --- a/pdns/version.cc +++ b/pdns/version.cc @@ -20,8 +20,6 @@ #include "version.hh" #include "version_generated.h" -using namespace std; - static string productName(""); string compilerVersion() @@ -50,7 +48,7 @@ void showProductVersion() string fullVersionString() { - stringstream s; + ostringstream s; s << "PowerDNS "< -#include +#include "namespaces.hh" -std::string compilerVersion(); +string compilerVersion(); void showProductVersion(); -std::string fullVersionString(); -void versionSetProduct(std::string product); +string fullVersionString(); +void versionSetProduct(string product); #endif //!VERSION_HH