summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
authorU-tellus\cwestin <cwestin@10gen.com>2012-01-10 14:28:56 -0800
committerU-tellus\cwestin <cwestin@10gen.com>2012-01-10 14:52:59 -0800
commit8427b4eb0180862bd4530fdd46b76ef933ae4087 (patch)
treec24bc4bcae2e3369a2c9ff208de7bf9677eda779 /src/mongo/db/pipeline/expression_context.h
parent4294f8eb2c6c1c6747de5b93667b5dc8ec654209 (diff)
downloadmongo-8427b4eb0180862bd4530fdd46b76ef933ae4087.tar.gz
fixed emacs to remove tabs from files before writing; removed tabs
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-rwxr-xr-xsrc/mongo/db/pipeline/expression_context.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h
index 0277039c80b..89e2878b54c 100755
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -25,21 +25,21 @@ namespace mongo {
class ExpressionContext :
public IntrusiveCounterUnsigned {
public:
- virtual ~ExpressionContext();
+ virtual ~ExpressionContext();
- void setInShard(bool b);
- void setInRouter(bool b);
+ void setInShard(bool b);
+ void setInRouter(bool b);
- bool getInShard() const;
- bool getInRouter() const;
+ bool getInShard() const;
+ bool getInRouter() const;
- static ExpressionContext *create();
+ static ExpressionContext *create();
private:
- ExpressionContext();
-
- bool inShard;
- bool inRouter;
+ ExpressionContext();
+
+ bool inShard;
+ bool inRouter;
};
}
@@ -49,19 +49,19 @@ namespace mongo {
namespace mongo {
inline void ExpressionContext::setInShard(bool b) {
- inShard = b;
+ inShard = b;
}
inline void ExpressionContext::setInRouter(bool b) {
- inRouter = b;
+ inRouter = b;
}
inline bool ExpressionContext::getInShard() const {
- return inShard;
+ return inShard;
}
inline bool ExpressionContext::getInRouter() const {
- return inRouter;
+ return inRouter;
}
};