diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-01-04 00:40:41 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-01-04 00:40:41 -0500 |
commit | b828d21630d8715fff5a30c682a51ab79880093d (patch) | |
tree | cbbc46069dcfc08ab1525ec06a5dff5967dde148 /s/strategy.h | |
parent | 4315a900ae604e11f2d9d68d1e6f87b8aa01dddc (diff) | |
download | mongo-b828d21630d8715fff5a30c682a51ab79880093d.tar.gz |
ran astyle SERVER-2304
Diffstat (limited to 's/strategy.h')
-rw-r--r-- | s/strategy.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/s/strategy.h b/s/strategy.h index e8ec0fe6cdb..10a5a3f8427 100644 --- a/s/strategy.h +++ b/s/strategy.h @@ -23,21 +23,21 @@ #include "request.h" namespace mongo { - + class Strategy { public: - Strategy(){} + Strategy() {} virtual ~Strategy() {} virtual void queryOp( Request& r ) = 0; virtual void getMore( Request& r ) = 0; virtual void writeOp( int op , Request& r ) = 0; - + protected: void doWrite( int op , Request& r , const Shard& shard , bool checkVersion = true ); void doQuery( Request& r , const Shard& shard ); - + void insert( const Shard& shard , const char * ns , const BSONObj& obj ); - + }; extern Strategy * SINGLE; |