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:
parent
4e41ea1864
commit
0b10316d9e
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue