diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 12:58:35 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 12:58:52 -0400 |
commit | bd6d0c99195e324e14390205e2bc6ff88c01e365 (patch) | |
tree | f9306b37b7d3302b4dd6e5f628fcf9886a09cf15 /src/mongo/util/base64.h | |
parent | a56eef7bd9a5d390182ea64118e11420b052a380 (diff) | |
download | mongo-bd6d0c99195e324e14390205e2bc6ff88c01e365.tar.gz |
replace assert with verify SERVER-1259
Diffstat (limited to 'src/mongo/util/base64.h')
-rw-r--r-- | src/mongo/util/base64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/base64.h b/src/mongo/util/base64.h index 505b5d78cca..d5507bf0932 100644 --- a/src/mongo/util/base64.h +++ b/src/mongo/util/base64.h @@ -37,9 +37,9 @@ namespace mongo { test(); } void test() { - assert( strlen( (char*)encode ) == 64 ); + verify( strlen( (char*)encode ) == 64 ); for ( int i=0; i<26; i++ ) - assert( encode[i] == toupper( encode[i+26] ) ); + verify( encode[i] == toupper( encode[i+26] ) ); } char e( int x ) { |