You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2021/11/30 13:19:25 UTC

[iotdb] branch rel/0.12 updated: avoid double import in C++ client (#4500)

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

qiaojialin pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new b080306  avoid double import in C++ client (#4500)
b080306 is described below

commit b080306b557f51b15c709e933ecee5134bd54257
Author: liuxuxin <37...@users.noreply.github.com>
AuthorDate: Tue Nov 30 21:15:10 2021 +0800

    avoid double import in C++ client (#4500)
    
    (cherry picked from commit cbb09d0b99fa9317de06a277c4ee393a577029e9)
---
 client-cpp/src/main/Session.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/client-cpp/src/main/Session.h b/client-cpp/src/main/Session.h
index 726cfdc..b83e0d6 100644
--- a/client-cpp/src/main/Session.h
+++ b/client-cpp/src/main/Session.h
@@ -16,6 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+#ifndef __IOTDB_SESSION
+#define __IOTDB_SESSION
 
 #include <string>
 #include <vector>
@@ -737,3 +739,5 @@ public:
 
     void executeNonQueryStatement(std::string sql);
 };
+
+#endif // __IOTDB_SESSION