Skip to content

Commit c66a111

Browse files
committed
fixed const instead of static
1 parent 9986ec8 commit c66a111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cucumber_cpp/library/support/SupportCodeLibrary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace cucumber_cpp::library::support
5555

5656
void DefinitionRegistration::LoadIds(cucumber::gherkin::id_generator_ptr idGenerator)
5757
{
58-
static auto assignGenerator = [&idGenerator](auto& entry)
58+
const auto assignGenerator = [&idGenerator](auto& entry)
5959
{
6060
entry.id = idGenerator->next_id();
6161
};

0 commit comments

Comments
 (0)