@@ -210,9 +210,9 @@ _mongoc_matcher_op_not_new (const char *path, /* IN */
210
210
BSON_ASSERT (child );
211
211
212
212
op = (mongoc_matcher_op_t * )bson_malloc0 (sizeof * op );
213
- op -> not .base .opcode = MONGOC_MATCHER_OPCODE_NOT ;
214
- op -> not .path = bson_strdup (path );
215
- op -> not .child = child ;
213
+ op -> not_ .base .opcode = MONGOC_MATCHER_OPCODE_NOT ;
214
+ op -> not_ .path = bson_strdup (path );
215
+ op -> not_ .child = child ;
216
216
217
217
return op ;
218
218
}
@@ -258,8 +258,8 @@ _mongoc_matcher_op_destroy (mongoc_matcher_op_t *op) /* IN */
258
258
_mongoc_matcher_op_destroy (op -> logical .right );
259
259
break ;
260
260
case MONGOC_MATCHER_OPCODE_NOT :
261
- _mongoc_matcher_op_destroy (op -> not .child );
262
- bson_free (op -> not .path );
261
+ _mongoc_matcher_op_destroy (op -> not_ .child );
262
+ bson_free (op -> not_ .path );
263
263
break ;
264
264
case MONGOC_MATCHER_OPCODE_EXISTS :
265
265
bson_free (op -> exists .path );
@@ -369,13 +369,13 @@ _mongoc_matcher_op_type_match (mongoc_matcher_op_type_t *type, /* IN */
369
369
*/
370
370
371
371
static bool
372
- _mongoc_matcher_op_not_match (mongoc_matcher_op_not_t * not , /* IN */
372
+ _mongoc_matcher_op_not_match (mongoc_matcher_op_not_t * not_ , /* IN */
373
373
const bson_t * bson ) /* IN */
374
374
{
375
- BSON_ASSERT (not );
375
+ BSON_ASSERT (not_ );
376
376
BSON_ASSERT (bson );
377
377
378
- return !_mongoc_matcher_op_match (not -> child , bson );
378
+ return !_mongoc_matcher_op_match (not_ -> child , bson );
379
379
}
380
380
381
381
@@ -1081,7 +1081,7 @@ _mongoc_matcher_op_match (mongoc_matcher_op_t *op, /* IN */
1081
1081
case MONGOC_MATCHER_OPCODE_NOR :
1082
1082
return _mongoc_matcher_op_logical_match (& op -> logical , bson );
1083
1083
case MONGOC_MATCHER_OPCODE_NOT :
1084
- return _mongoc_matcher_op_not_match (& op -> not , bson );
1084
+ return _mongoc_matcher_op_not_match (& op -> not_ , bson );
1085
1085
case MONGOC_MATCHER_OPCODE_EXISTS :
1086
1086
return _mongoc_matcher_op_exists_match (& op -> exists , bson );
1087
1087
case MONGOC_MATCHER_OPCODE_TYPE :
@@ -1190,9 +1190,9 @@ _mongoc_matcher_op_to_bson (mongoc_matcher_op_t *op, /* IN */
1190
1190
bson_append_array_end (bson , & child );
1191
1191
break ;
1192
1192
case MONGOC_MATCHER_OPCODE_NOT :
1193
- bson_append_document_begin (bson , op -> not .path , -1 , & child );
1193
+ bson_append_document_begin (bson , op -> not_ .path , -1 , & child );
1194
1194
bson_append_document_begin (& child , "$not" , 4 , & child2 );
1195
- _mongoc_matcher_op_to_bson (op -> not .child , & child2 );
1195
+ _mongoc_matcher_op_to_bson (op -> not_ .child , & child2 );
1196
1196
bson_append_document_end (& child , & child2 );
1197
1197
bson_append_document_end (bson , & child );
1198
1198
break ;
0 commit comments