1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-13 15:54:11 +00:00

Fix namespaces.

Build works, except for incredis which I'm going to move out anyways.
This commit is contained in:
King_DuckZ 2016-07-14 16:02:15 +01:00
parent a5477c99cf
commit 7a3438def6
24 changed files with 79 additions and 78 deletions

View file

@ -102,13 +102,13 @@ namespace redis {
}
int IncRedis::hincrby (boost::string_ref parKey, boost::string_ref parField, int parInc) {
const auto inc = dinhelp::lexical_cast<std::string>(parInc);
const auto inc = dhandy::lexical_cast<std::string>(parInc);
auto reply = m_command.run("HINCRBY", parKey, parField, inc);
return get_integer(reply);
}
auto IncRedis::srandmember (boost::string_ref parKey, int parCount) -> opt_string_list {
return optional_string_list(m_command.run("SRANDMEMBER", parKey, dinhelp::lexical_cast<std::string>(parCount)));
return optional_string_list(m_command.run("SRANDMEMBER", parKey, dhandy::lexical_cast<std::string>(parCount)));
}
auto IncRedis::srandmember (boost::string_ref parKey) -> opt_string {