Commit ae877d26 authored by pryanikov's avatar pryanikov
Browse files

minor fixes

parent 6e819663
......@@ -30,7 +30,7 @@ include_directories(
"${IMYSQL}/mysql"
)
find_library(LMYSQL_CLIENT_R perconaserverclient_r PATH_SUFFIXES mysql)
find_library(LMYSQL_CLIENT_R mysqlclient_r PATH_SUFFIXES mysql)
find_library(LPTHREAD pthread)
find_library(LBOOST_SYSTEM_MT boost_system)
find_library(LBOOST_SERIALIZATION_MT boost_serialization)
......
#include <sstream>
#include "dbreader.h"
#include "serializable.h"
using std::placeholders::_1;
......
......@@ -7,6 +7,8 @@
#include <functional>
#include <Slave.h>
#undef max
#undef min
#include <DefaultExtState.h>
#include <nanomysql.h>
......
libslave @ 57738a6d
Subproject commit eaffacef1e90b29af94b74e77e8873d891c324c2
Subproject commit 57738a6d7ed084abfdb750ee23472382f1f1b800
......@@ -14,21 +14,12 @@ class SerializableValue {
boost::any value;
public:
template<typename T>
inline SerializableValue& operator= (const T& value_) {
value = boost::any(value_);
return *this;
}
template<typename T>
inline SerializableValue& operator= (T&& value_) {
value = boost::any(std::forward<T>(value_));
return *this;
}
inline SerializableValue& operator= (const boost::any& value_) {
value = value_;
return *this;
}
inline SerializableValue& operator= (boost::any&& value_) {
value = std::forward<boost::any>(value_);
return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment