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

jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-website.git


The following commit(s) were added to refs/heads/main by this push:
     new c02f6d47b Fixing more compilation problems in CMS example code
c02f6d47b is described below

commit c02f6d47bc32ae2e467b9b79d65c11fc97eaf4e0
Author: Justin Bertram <[email protected]>
AuthorDate: Thu Mar 7 21:30:22 2024 -0600

    Fixing more compilation problems in CMS example code
---
 src/components/cms/overview.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/cms/overview.md b/src/components/cms/overview.md
index f616b25e4..9b39b847b 100644
--- a/src/components/cms/overview.md
+++ b/src/components/cms/overview.md
@@ -198,7 +198,7 @@ std::auto_ptr<cms::ConnectionFactory> connectionFactory(
 std::auto_ptr<cms::Connection> connection( 
connectionFactory->createConnection() );
 
 // Create a new Session from our Connection
-std::auto_ptr<cms::Session> session( connection->createSession();
+std::auto_ptr<cms::Session> session( connection->createSession() );
 
 // Now create a Topic
 std::auto_ptr<cms::Topic> myTopic( session->createTopic( "EXAMPLE-TOPIC" ) );
@@ -219,7 +219,7 @@ std::auto_ptr<cms::ConnectionFactory> connectionFactory(
 std::auto_ptr<cms::Connection> connection( 
connectionFactory->createConnection() );
 
 // Create a new Session from our Connection
-std::auto_ptr<cms::Session> session( connection->createSession();
+std::auto_ptr<cms::Session> session( connection->createSession() );
 
 // Now create a Topic
 std::auto_ptr<cms::Topic> myTopic( session->createTopic( "EXAMPLE-TOPIC" ) );
@@ -303,7 +303,7 @@ std::auto_ptr<cms::ConnectionFactory> connectionFactory(
 std::auto_ptr<cms::Connection> connection( 
connectionFactory->createConnection() );
 
 // Create a new Session from our Connection
-std::auto_ptr<cms::Session> session( connection->createSession();
+std::auto_ptr<cms::Session> session( connection->createSession() );
 
 // Now create a Topic
 std::auto_ptr<cms::Topic> myTopic( session->createTopic( "EXAMPLE-TOPIC" ) );

Reply via email to