diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2014-01-31 21:05:26 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2014-01-31 21:05:26 +0000 |
| commit | 67a9724a84741241b696528073042d82c558a6a3 (patch) | |
| tree | 8bda26fd06b85f04110b902248d90afbecb94288 /cpp/src/qpid/linearstore/StorePlugin.cpp | |
| parent | 1661f8f64784d31d47e27f4c4f54faade66e8d95 (diff) | |
| download | qpid-python-67a9724a84741241b696528073042d82c558a6a3.tar.gz | |
QPID-5485: If no directory for paging file is enabled print warning (as if
memory mapped files were not supported) but still create a queue.
- Also improve DataDir const correctness.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1563256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/linearstore/StorePlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/linearstore/StorePlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/linearstore/StorePlugin.cpp b/cpp/src/qpid/linearstore/StorePlugin.cpp index 6dfb2056bf..d64b44b5e3 100644 --- a/cpp/src/qpid/linearstore/StorePlugin.cpp +++ b/cpp/src/qpid/linearstore/StorePlugin.cpp @@ -46,7 +46,7 @@ struct StorePlugin : public Plugin { Broker* broker = dynamic_cast<Broker*>(&target); if (!broker) return; store.reset(new MessageStoreImpl(broker)); - DataDir& dataDir = broker->getDataDir (); + const DataDir& dataDir = broker->getDataDir (); if (options.storeDir.empty ()) { if (!dataDir.isEnabled ()) |
