Support compiling with C++11 rules. Compile C++11 by default.

This gives us some significant performance boosts when containers and binds.
This commit is contained in:
JoelKatz
2013-03-16 02:38:05 -07:00
parent 2c7bbc0ea8
commit 606dff758c
15 changed files with 100 additions and 84 deletions

View File

@@ -6,7 +6,9 @@
#include <boost/thread/mutex.hpp>
#include <boost/shared_ptr.hpp>
#include "utils.h"
#include "types.h"
extern int upTime();
// Monitors load levels and response times
@@ -54,7 +56,7 @@ class LoadEvent
{
public:
typedef boost::shared_ptr<LoadEvent> pointer;
typedef std::auto_ptr<LoadEvent> autoptr;
typedef UPTR_T<LoadEvent> autoptr;
protected:
LoadMonitor& mMonitor;