Replace TR1 headers with standard headers
Now that the C++11 standard is the default one, we can remove the TR1 headers and classes.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
|
||||
#include <maxscale/cppdefs.hh>
|
||||
|
||||
#include <tr1/unordered_map>
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
using namespace maxscale;
|
||||
|
||||
/** This contains the database to server mapping */
|
||||
typedef std::tr1::unordered_map<std::string, SERVER*> ServerMap;
|
||||
typedef std::unordered_map<std::string, SERVER*> ServerMap;
|
||||
|
||||
class Shard
|
||||
{
|
||||
@ -96,7 +96,7 @@ private:
|
||||
time_t m_last_updated;
|
||||
};
|
||||
|
||||
typedef std::tr1::unordered_map<std::string, Shard> ShardMap;
|
||||
typedef std::unordered_map<std::string, Shard> ShardMap;
|
||||
|
||||
class ShardManager
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user