Skip to content

Commit 7ce050b

Browse files
committed
Bad idea to make boost::regex static const if the regex changes!
1 parent 5ce5549 commit 7ce050b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/latex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ void SpLatex::tabular(
444444
while (eln < m_lines.size() && is_comment_line(eln) < 0)
445445
++eln;
446446

447-
static const boost::regex
447+
const boost::regex
448448
re_endtabular("[[:blank:]]*% END " + op_name + " .*");
449449

450450
if (eln < m_lines.size() &&

0 commit comments

Comments
 (0)