diff options
author | David Storch <david.storch@10gen.com> | 2017-11-17 10:07:10 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2017-11-17 15:11:05 -0500 |
commit | 411853747b6c5ee4e6d0f5d8ef063514e54d7ee0 (patch) | |
tree | a5f93bd118c3c2708d1a873b1821f03d79b2b7f9 /src/mongo/db/pipeline | |
parent | 9440092d53a069ecca6c81cdbdbbf80f2d0cf033 (diff) | |
download | mongo-411853747b6c5ee4e6d0f5d8ef063514e54d7ee0.tar.gz |
SERVER-32007 Make evaluation of time-related agg expressions thread safe.
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r-- | src/mongo/db/pipeline/expression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression.h b/src/mongo/db/pipeline/expression.h index 39396202dc8..8c1cf4db3ce 100644 --- a/src/mongo/db/pipeline/expression.h +++ b/src/mongo/db/pipeline/expression.h @@ -67,7 +67,7 @@ class DocumentSource; return Status::OK(); \ } -class Expression : public IntrusiveCounterUnsigned { +class Expression : public RefCountable { public: using Parser = stdx::function<boost::intrusive_ptr<Expression>( const boost::intrusive_ptr<ExpressionContext>&, BSONElement, const VariablesParseState&)>; |