You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by if...@apache.org on 2021/03/28 05:38:45 UTC

[rocketmq-client-cpp] branch re_dev updated: fix: missing limits header

This is an automated email from the ASF dual-hosted git repository.

ifplusor pushed a commit to branch re_dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git


The following commit(s) were added to refs/heads/re_dev by this push:
     new 1584a34  fix: missing limits header
1584a34 is described below

commit 1584a34ec7a44137085dbc5eb2b3047726b433fc
Author: James Yin <yw...@hotmail.com>
AuthorDate: Sun Mar 28 13:38:27 2021 +0800

    fix: missing limits header
---
 src/transport/SocketUtil.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/transport/SocketUtil.cpp b/src/transport/SocketUtil.cpp
index f207263..230db1a 100644
--- a/src/transport/SocketUtil.cpp
+++ b/src/transport/SocketUtil.cpp
@@ -20,6 +20,7 @@
 #include <cstring>  // std::memcpy, std::memset
 
 #include <iostream>
+#include <limits>
 #include <stdexcept>  // std::invalid_argument, std::runtime_error
 #include <string>