summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-03 20:06:18 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-16 15:54:57 -0400
commite5f3146ff48f654dd3883be1e62ee6f0a8549ee8 (patch)
tree650653518021425829a86320f25713baf7680ab5 /src/mongo/db/service_context.h
parentdf12652fc9478359b0f2ac3b373f83bd7220a3a4 (diff)
downloadmongo-e5f3146ff48f654dd3883be1e62ee6f0a8549ee8.tar.gz
SERVER-17817 Make ServiceContext decorable.
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r--src/mongo/db/service_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h
index 429327dc718..0e5bd6b413d 100644
--- a/src/mongo/db/service_context.h
+++ b/src/mongo/db/service_context.h
@@ -30,6 +30,7 @@
#include "mongo/base/disallow_copying.h"
#include "mongo/db/storage/storage_engine.h"
+#include "mongo/util/decorable.h"
#include "mongo/stdx/functional.h"
namespace mongo {
@@ -67,7 +68,7 @@ namespace mongo {
StorageFactoriesIterator() { }
};
- class ServiceContext {
+ class ServiceContext : public Decorable<ServiceContext> {
MONGO_DISALLOW_COPYING(ServiceContext);
public:
virtual ~ServiceContext() { }