Make the CDC connector C++0x compliant
As CentOS 6 is supported, the CDC connector ought to build on non-C++11 systems.
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <tr1/memory>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
@ -34,10 +34,10 @@ const char* TIMEOUT = "Request timed out";
|
||||
|
||||
// The typedef for the Row type
|
||||
class Row;
|
||||
typedef std::shared_ptr<Row> SRow;
|
||||
typedef std::tr1::shared_ptr<Row> SRow;
|
||||
|
||||
typedef std::vector<std::string> ValueVector;
|
||||
typedef std::shared_ptr<ValueVector> SValueVector;
|
||||
typedef std::tr1::shared_ptr<ValueVector> SValueVector;
|
||||
typedef std::map<std::string, std::string> ValueMap;
|
||||
|
||||
// A class that represents a CDC connection
|
||||
|
Reference in New Issue
Block a user