cpp-redis / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform
MIT License
713 stars 198 forks source link

Bugfix for C++17 #9

Closed GeoffHadlington closed 5 years ago

GeoffHadlington commented 5 years ago

Bracket operator of struct 'optional' has been replaced with a standard constructor. logger.hpp inclusion in reply.cpp. Change of optional to optional_t where struct used. enableIf template added to C++ branching in optional.hpp