From 4fddc45ec1671304592c14ae970162c9c2518d06 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期一, 30 八月 2021 19:52:00 +0800 Subject: [PATCH] Fix the building issue. --- src/bh_api.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bh_api.cpp b/src/bh_api.cpp index 76e78d7..b492faa 100644 --- a/src/bh_api.cpp +++ b/src/bh_api.cpp @@ -1289,6 +1289,12 @@ const char *topic; const char *data; }_input1; + + struct _RequestReply + { + std::string proc_id; + std::string data; + }rr; ::bhome_msg::BHAddress input0; ::bhome_msg::MsgRequestTopic input1; @@ -1389,12 +1395,6 @@ memset(errString, 0x00, sizeof(errString)); strncpy(errString, bus_strerror(rv), sizeof(errString)); - - struct _RequestReply - { - std::string proc_id; - std::string data; - }rr; if (rv == 0) { memset(topics_buf, 0x00, sizeof(topics_buf)); -- Gitblit v1.8.0