1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00

Use lexical_cast from dinhelp, not boost.

This commit is contained in:
King_DuckZ 2016-07-14 11:02:06 +01:00
parent 4e41ea1864
commit 0b10316d9e

View file

@ -16,8 +16,8 @@
*/ */
#include "reply.hpp" #include "reply.hpp"
#include "helpers/lexical_cast.hpp"
#include <boost/variant/get.hpp> #include <boost/variant/get.hpp>
#include <boost/lexical_cast.hpp>
namespace redis { namespace redis {
const long long& get_integer (const Reply& parReply) { const long long& get_integer (const Reply& parReply) {
@ -35,7 +35,7 @@ namespace redis {
} }
long long get_integer_autoconv_if_str (const Reply &parReply) { long long get_integer_autoconv_if_str (const Reply &parReply) {
using boost::lexical_cast; using dinhelp::lexical_cast;
const auto type = parReply.which(); const auto type = parReply.which();
switch (type) { switch (type) {