mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-15 16:14:12 +00:00
Rename RedisReplyType to just Reply.
This commit is contained in:
parent
533b571771
commit
316f8f585b
7 changed files with 47 additions and 47 deletions
|
@ -55,7 +55,7 @@ namespace redis {
|
|||
bool is_connected ( void ) const;
|
||||
|
||||
template <typename... Args>
|
||||
RedisReplyType run ( const char* parCommand, Args&&... parArgs );
|
||||
Reply run ( const char* parCommand, Args&&... parArgs );
|
||||
|
||||
//Single Redis command wrappers
|
||||
scan_range scan ( void );
|
||||
|
@ -66,7 +66,7 @@ namespace redis {
|
|||
private:
|
||||
using RedisConnection = std::unique_ptr<redisContext, void(*)(redisContext*)>;
|
||||
|
||||
RedisReplyType run_pvt ( int parArgc, const char** parArgv, std::size_t* parLengths );
|
||||
Reply run_pvt ( int parArgc, const char** parArgv, std::size_t* parLengths );
|
||||
|
||||
RedisConnection m_conn;
|
||||
std::string m_address;
|
||||
|
@ -74,7 +74,7 @@ namespace redis {
|
|||
};
|
||||
|
||||
template <typename... Args>
|
||||
RedisReplyType Command::run (const char* parCommand, Args&&... parArgs) {
|
||||
Reply Command::run (const char* parCommand, Args&&... parArgs) {
|
||||
constexpr const std::size_t arg_count = sizeof...(Args) + 1;
|
||||
using CharPointerArray = std::array<const char*, arg_count>;
|
||||
using LengthArray = std::array<std::size_t, arg_count>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue