fix(library/flycheck): crash when io_state_stream is destroyed before flycheck_scope
This commit is contained in:
parent
73429547ba
commit
1b13562591
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ Author: Leonardo de Moura
|
|||
namespace lean {
|
||||
/** \brief Auxiliary object for "inserting" delimiters for flycheck */
|
||||
class flycheck_scope {
|
||||
io_state_stream const & m_ios;
|
||||
bool m_flycheck;
|
||||
io_state_stream m_ios;
|
||||
bool m_flycheck;
|
||||
public:
|
||||
flycheck_scope(io_state_stream const & ios, char const * kind);
|
||||
~flycheck_scope();
|
||||
|
|
Loading…
Reference in a new issue