Skip to content

Commit 5bf9baa

Browse files
committed
Config.hpp
1 parent 38e7983 commit 5bf9baa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

section5/Config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Config final
6464
private:
6565
vm_type m_vm {luaL_newstate(), lua_close};
6666

67-
regex_type m_reg {R"(^(\w+)\.(\w+)$)"};
67+
const regex_type m_reg {R"(^(\w+)\.(\w+)$)"};
6868
mutable match_type m_what;
6969
};
7070

0 commit comments

Comments
 (0)