1
0
Fork 0
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:
King_DuckZ 2016-06-13 15:24:26 +01:00
parent c7eeddabf1
commit 731582d8fe
3 changed files with 34 additions and 32 deletions

View file

@ -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 );