namespace: drop most boost namespaces and a few header cleanups
A few boost::asio were left around because they're very wordy otherwise.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace boost::tuples;
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(bloom_tests)
|
||||
|
||||
|
||||
@@ -23,12 +23,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <boost/algorithm/string/split.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include "json/json_spirit_reader_template.h"
|
||||
@@ -37,7 +31,6 @@
|
||||
|
||||
using namespace std;
|
||||
using namespace json_spirit;
|
||||
using namespace boost::algorithm;
|
||||
|
||||
// Uncomment if you want to output updated JSON tests.
|
||||
// #define UPDATE_JSON_TESTS
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
using namespace std;
|
||||
using namespace json_spirit;
|
||||
using namespace boost::algorithm;
|
||||
|
||||
// In script_tests.cpp
|
||||
extern Array read_json(const std::string& jsondata);
|
||||
@@ -47,7 +46,7 @@ unsigned int ParseScriptFlags(string strFlags)
|
||||
}
|
||||
unsigned int flags = 0;
|
||||
vector<string> words;
|
||||
split(words, strFlags, is_any_of(","));
|
||||
boost::algorithm::split(words, strFlags, boost::algorithm::is_any_of(","));
|
||||
|
||||
BOOST_FOREACH(string word, words)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user