mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user