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 798e7fb44 Fix compilation issue in CMS example code
798e7fb44 is described below

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

    Fix compilation issue in CMS example code
---
 src/components/cms/overview.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/cms/overview.md b/src/components/cms/overview.md
index 7d77fa2c1..f616b25e4 100644
--- a/src/components/cms/overview.md
+++ b/src/components/cms/overview.md
@@ -162,7 +162,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 TextMessage
 std::auto_ptr<cms::TextMessage> textMessage( session->createTextMessage() );

Reply via email to