Skip to content

Commit bb31cd4

Browse files
committed
Hint to the compiler that map_element_matches_field_path() should be inlined
1 parent 6da5d4b commit bb31cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ static const bson_visitor_t php_bson_visitors = {
796796
{ NULL }
797797
};
798798

799-
static bool map_element_matches_field_path(php_phongo_field_path_map_element* map_element, php_phongo_field_path* current)
799+
static inline bool map_element_matches_field_path(php_phongo_field_path_map_element* map_element, php_phongo_field_path* current)
800800
{
801801
size_t i;
802802

0 commit comments

Comments
 (0)