[rhmessaging-commits] rhmessaging commits: r3675 - store/trunk/cpp/lib.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Oct 21 10:22:23 EDT 2009


Author: kpvdr
Date: 2009-10-21 10:22:23 -0400 (Wed, 21 Oct 2009)
New Revision: 3675

Modified:
   store/trunk/cpp/lib/StorePlugin.cpp
Log:
Fix for steve huston's recent checkin on qpid.

Modified: store/trunk/cpp/lib/StorePlugin.cpp
===================================================================
--- store/trunk/cpp/lib/StorePlugin.cpp	2009-10-19 20:23:30 UTC (rev 3674)
+++ store/trunk/cpp/lib/StorePlugin.cpp	2009-10-21 14:22:23 UTC (rev 3675)
@@ -53,7 +53,8 @@
 
             options.storeDir = dataDir.getPath ();
         }
-        store->init(&options);
+        MessageStore* sp = store.get();
+        static_cast<mrg::msgstore::MessageStoreImpl*>(sp)->init(&options);
         broker->setStore (store);
         target.addFinalizer(boost::bind(&StorePlugin::finalize, this));
     }



More information about the rhmessaging-commits mailing list