* add "std::" prefix in headers
* add "using" declarations in .cc files.
so we don't rely on "using namespace std" in one or more included
headers.
Signed-off-by: Kefu Chai <kchai@redhat.com>
#include <thread>
#include <gtest/gtest.h>
+using namespace std;
+
TEST(HTTPManager, ReadTruncated)
{
using tcp = boost::asio::ip::tcp;
#include "rgw/rgw_torrent.h"
+using namespace std;
+
TEST(Bencode, String)
{
TorrentBencode decode;
#include "rgw/rgw_sal_rados.h"
#include "rgw/rgw_lua_request.h"
+using namespace std;
using namespace rgw;
using boost::container::flat_set;
using rgw::auth::Identity;
#include <boost/lexical_cast.hpp>
#include <gtest/gtest.h>
+using namespace std;
namespace {
// construct a period with the given fields