This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 3b8f3ee2 Fix compile error due to std limits header absent (#1764)
3b8f3ee2 is described below
commit 3b8f3ee2a184b093af58462c78cb76a3ce814a30
Author: GOGOYAO <[email protected]>
AuthorDate: Mon Jun 6 16:19:17 2022 +0800
Fix compile error due to std limits header absent (#1764)
fix compile error like `incubator-brpc/src/brpc/redis_command.cpp:411:29:
error: ‘numeric_limits’ is not a member of ‘std’`
---
src/brpc/redis_command.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/brpc/redis_command.h b/src/brpc/redis_command.h
index 1bd56997..fc883995 100644
--- a/src/brpc/redis_command.h
+++ b/src/brpc/redis_command.h
@@ -19,6 +19,7 @@
#ifndef BRPC_REDIS_COMMAND_H
#define BRPC_REDIS_COMMAND_H
+#include <limits>
#include <memory> // std::unique_ptr
#include <vector>
#include "butil/iobuf.h"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]