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

isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new c4aaadfb96b IGNITE-26675 C++ Client: Put transaction_options in ignite 
namespace (#6739)
c4aaadfb96b is described below

commit c4aaadfb96b4c046d74c965bf8d04b74d11e1833
Author: Ed Rakhmankulov <[email protected]>
AuthorDate: Mon Oct 13 17:46:33 2025 +0300

    IGNITE-26675 C++ Client: Put transaction_options in ignite namespace (#6739)
---
 .../cpp/ignite/client/transaction/transaction_options.h          | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/modules/platforms/cpp/ignite/client/transaction/transaction_options.h 
b/modules/platforms/cpp/ignite/client/transaction/transaction_options.h
index 436576beb3e..f71883651c9 100644
--- a/modules/platforms/cpp/ignite/client/transaction/transaction_options.h
+++ b/modules/platforms/cpp/ignite/client/transaction/transaction_options.h
@@ -1,5 +1,5 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
+ * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements. See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
@@ -17,6 +17,7 @@
 
 #pragma once
 
+namespace ignite {
 /**
  * Transaction options.
  */
@@ -35,7 +36,7 @@ public:
      * @param timeout_millis Transaction timeout in milliseconds.
      * @return Reference to this for chaining.
      */
-    transaction_options & set_timeout_millis(std::int64_t timeout_millis) {
+    transaction_options &set_timeout_millis(std::int64_t timeout_millis) {
         m_timeout_millis = timeout_millis;
         return *this;
     }
@@ -53,11 +54,13 @@ public:
      * @param read_only True if transaction should read-only, false if 
read-write.
      * @return Reference to this for chaining.
      */
-    transaction_options & set_read_only(bool read_only) {
+    transaction_options &set_read_only(bool read_only) {
         m_read_only = read_only;
         return *this;
     }
+
 private:
     std::int64_t m_timeout_millis = 0;
     bool m_read_only = false;
 };
+} // namespace ignite
\ No newline at end of file

Reply via email to