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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new ebfedc1a159 Fix One of the constructors for the Tablet class in the 
client-cpp interface is incorrect (#10152)
ebfedc1a159 is described below

commit ebfedc1a1597d3803c1d09e02336fd28ce1d3249
Author: zhang chaoming <[email protected]>
AuthorDate: Thu Jun 15 17:51:08 2023 +0800

    Fix One of the constructors for the Tablet class in the client-cpp 
interface is incorrect (#10152)
    
    Co-authored-by: ZhangChaoming <[email protected]>
---
 iotdb-client/client-cpp/src/main/Session.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/iotdb-client/client-cpp/src/main/Session.h 
b/iotdb-client/client-cpp/src/main/Session.h
index c50e36fa836..11341b163be 100644
--- a/iotdb-client/client-cpp/src/main/Session.h
+++ b/iotdb-client/client-cpp/src/main/Session.h
@@ -578,9 +578,8 @@ public:
     * @param timeseries the list of measurement schemas for creating the tablet
     */
     Tablet(const std::string &deviceId,
-           const std::vector<std::pair<std::string, TSDataType::TSDataType>> 
&timeseries) {
-        Tablet(deviceId, timeseries, DEFAULT_ROW_SIZE);
-    }
+           const std::vector<std::pair<std::string, TSDataType::TSDataType>> 
&timeseries)
+           : Tablet(deviceId, timeseries, DEFAULT_ROW_SIZE) {}
 
     /**
      * Return a tablet with the specified number of rows (maxBatchSize). Only

Reply via email to