mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-14 16:04:14 +00:00
Move V into ValueFetch.
No need to explicitly specify the dereferenced type directly to the scan iterator anymore.
This commit is contained in:
parent
c7eeddabf1
commit
731582d8fe
3 changed files with 34 additions and 32 deletions
|
@ -37,9 +37,9 @@ struct redisContext;
|
|||
namespace redis {
|
||||
class Command {
|
||||
public:
|
||||
typedef ScanIterator<std::string, ScanSingleValues<std::string>> scan_iterator;
|
||||
typedef ScanIterator<ScanSingleValues<std::string>> scan_iterator;
|
||||
typedef boost::iterator_range<scan_iterator> scan_range;
|
||||
typedef ScanIterator<std::pair<std::string, std::string>, ScanPairs<std::pair<std::string, std::string>>> hscan_iterator;
|
||||
typedef ScanIterator<ScanPairs<std::pair<std::string, std::string>>> hscan_iterator;
|
||||
typedef boost::iterator_range<hscan_iterator> hscan_range;
|
||||
|
||||
Command ( std::string&& parAddress, uint16_t parPort );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue