summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts/tokenizer.cpp
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-03-09 15:47:51 -0400
committerJason Rassi <rassi@10gen.com>2015-03-10 11:48:18 -0400
commit17762d0b22b816f863d11406f60d8d332687a943 (patch)
tree8782ad0cb9deb4b01f68af964b810953dff70198 /src/mongo/db/fts/tokenizer.cpp
parentc6c136a7def8ab1f78ccd5d53034af510436e776 (diff)
downloadmongo-17762d0b22b816f863d11406f60d8d332687a943.tar.gz
SERVER-17437 Minor style/formatting fixes in db/fts/
Diffstat (limited to 'src/mongo/db/fts/tokenizer.cpp')
-rw-r--r--src/mongo/db/fts/tokenizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/fts/tokenizer.cpp b/src/mongo/db/fts/tokenizer.cpp
index 61e5b09a706..ee60f99d588 100644
--- a/src/mongo/db/fts/tokenizer.cpp
+++ b/src/mongo/db/fts/tokenizer.cpp
@@ -55,7 +55,7 @@ namespace mongo {
unsigned start = _pos++;
Token::Type type = _type( _raw[start] );
- if ( type == Token::WHITESPACE ) abort();
+ if ( type == Token::WHITESPACE ) invariant( false );
if ( type == Token::TEXT )
while ( _pos < _raw.size() && _type( _raw[_pos] ) == type )