This is an automated email from the ASF dual-hosted git repository.
zhaoliwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new 49b85c2 fix(hotspot): using dsn::make_unique instead of
std::make_unique (#607)
49b85c2 is described below
commit 49b85c23df6070478a3682d892a8cd66cc7fab5d
Author: zhao liwei <[email protected]>
AuthorDate: Thu Sep 24 10:07:57 2020 +0800
fix(hotspot): using dsn::make_unique instead of std::make_unique (#607)
---
src/server/hotspot_partition_calculator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/server/hotspot_partition_calculator.cpp
b/src/server/hotspot_partition_calculator.cpp
index e0618b3..66447d9 100644
--- a/src/server/hotspot_partition_calculator.cpp
+++ b/src/server/hotspot_partition_calculator.cpp
@@ -183,7 +183,7 @@ void
hotspot_partition_calculator::detect_hotkey_in_hotpartition(int data_type)
const dsn::apps::hotkey_detect_action::type action)
{
FAIL_POINT_INJECT_F("send_hotkey_detect_request", [](dsn::string_view) {});
- auto request = std::make_unique<dsn::apps::hotkey_detect_request>();
+ auto request = dsn::make_unique<dsn::apps::hotkey_detect_request>();
request->type = hotkey_type;
request->action = action;
ddebug_f("{} {} hotkey detection in {}.{}",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]