You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by wa...@apache.org on 2022/12/16 07:12:03 UTC

[incubator-pegasus] branch master updated: fix: fix ubuntu-16.04 build (#1295)

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

wangdan 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 608847829 fix: fix ubuntu-16.04 build (#1295)
608847829 is described below

commit 608847829ff4fb3dcd167a3ff99fb37e1dcb285d
Author: liguohao <48...@users.noreply.github.com>
AuthorDate: Fri Dec 16 15:11:57 2022 +0800

    fix: fix ubuntu-16.04 build (#1295)
---
 src/runtime/task/task_code.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/runtime/task/task_code.cpp b/src/runtime/task/task_code.cpp
index b39c5ec46..f37608dcc 100644
--- a/src/runtime/task/task_code.cpp
+++ b/src/runtime/task/task_code.cpp
@@ -33,6 +33,7 @@ namespace dsn {
 
 typedef dsn::utils::customized_id_mgr<dsn::task_code> task_code_mgr;
 
+namespace utils {
 template <>
 void task_code_mgr::register_commands()
 {
@@ -61,6 +62,7 @@ void task_code_mgr::register_commands()
             return ss.str();
         }));
 }
+}
 
 /*static*/
 int task_code::max() { return task_code_mgr::instance().max_value(); }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org