diff options
author | Jason Rassi <rassi@10gen.com> | 2015-03-09 15:47:51 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-03-10 11:48:18 -0400 |
commit | 17762d0b22b816f863d11406f60d8d332687a943 (patch) | |
tree | 8782ad0cb9deb4b01f68af964b810953dff70198 /src/mongo/db/fts/tokenizer.cpp | |
parent | c6c136a7def8ab1f78ccd5d53034af510436e776 (diff) | |
download | mongo-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.cpp | 2 |
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 ) |