Give up with --std=c++11

There are too many distros that use old versions of g++ that don't support it adequately.
This commit is contained in:
Joe Thornber
2013-08-08 10:49:59 +01:00
parent 79f64267b5
commit 0029962f20
10 changed files with 65 additions and 47 deletions

View File

@@ -19,6 +19,8 @@
#include "gmock/gmock.h"
#include "persistent-data/cache.h"
#include <boost/shared_ptr.hpp>
using namespace boost;
using namespace base;
using namespace std;
@@ -53,7 +55,7 @@ namespace {
struct SharedThingTraits {
typedef unsigned key_type;
typedef std::shared_ptr<Thing> value_type;
typedef boost::shared_ptr<Thing> value_type;
static key_type get_key(value_type const &p) {
return p->key_;