vcpkg/ports/cpp-redis/fix-sleep_for.patch
Particle_G ea5c1a6e5d
[cpp-redis] Fix ‘sleep_for’ is not a member of ‘std::this_thread’ (#23762)
* Apply patch: ‘sleep_for’ is not a member of ‘std::this_thread’

* Run with `./vcpkg x-add-version --all`

* update version-string

* update version

* Replace deprecated methods

* Add neccesary dependencies
Add missing license field according to original repo's license

* Run with `./vcpkg x-add-version --all`

* Bump port version
Run with `./vcpkg x-add-version --all`

* update version

* delets git-tree

* update git tree

* update vcpkg.json

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-03-25 11:18:05 -07:00

13 lines
341 B
Diff

diff --git a/sources/core/client.cpp b/sources/core/client.cpp
index 7ea20e2..c5d2c40 100644
--- a/sources/core/client.cpp
+++ b/sources/core/client.cpp
@@ -23,6 +23,7 @@
#include <cpp_redis/core/client.hpp>
#include <cpp_redis/misc/error.hpp>
#include <cpp_redis/misc/macro.hpp>
+#include <thread>
namespace cpp_redis {