From dc86ace85e437ecb8a2e728e4dce36d02bbb8a6e Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 23 四月 2021 12:59:50 +0800
Subject: [PATCH] move ref count into msg meta, only 1 poinetr now.

---
 src/failed_msg.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/failed_msg.h b/src/failed_msg.h
index 73030ba..8a810c7 100644
--- a/src/failed_msg.h
+++ b/src/failed_msg.h
@@ -40,7 +40,7 @@
 	}
 
 private:
-	Func PrepareSender(const std::string &remote, Msg const &msg);
+	Func PrepareSender(const std::string &remote, Msg msg);
 
 	TimedFuncQ queue_;
 };

--
Gitblit v1.8.0