File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ mongoc_optional_init (mongoc_optional_t *opt)
24
24
}
25
25
26
26
bool
27
- mongoc_optional_is_set (mongoc_optional_t * opt )
27
+ mongoc_optional_is_set (const mongoc_optional_t * opt )
28
28
{
29
29
BSON_ASSERT (opt );
30
30
return opt -> is_set ;
31
31
}
32
32
33
33
bool
34
- mongoc_optional_value (mongoc_optional_t * opt )
34
+ mongoc_optional_value (const mongoc_optional_t * opt )
35
35
{
36
36
BSON_ASSERT (opt );
37
37
return opt -> value ;
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ MONGOC_EXPORT (void)
34
34
mongoc_optional_init (mongoc_optional_t * opt );
35
35
36
36
MONGOC_EXPORT (bool )
37
- mongoc_optional_is_set (mongoc_optional_t * opt );
37
+ mongoc_optional_is_set (const mongoc_optional_t * opt );
38
38
39
39
MONGOC_EXPORT (bool )
40
- mongoc_optional_value (mongoc_optional_t * opt );
40
+ mongoc_optional_value (const mongoc_optional_t * opt );
41
41
42
42
MONGOC_EXPORT (void )
43
43
mongoc_optional_set_value (mongoc_optional_t * opt , bool val );
You can’t perform that action at this time.
0 commit comments