Mercurial > octave
diff libinterp/corefcn/interpreter.cc @ 27394:489c74ac36da
store reference to interpreter in load_path object
* load-path.h, load-path.cc (load_path::m_interpreter):
New data member.
(load_path::load_path): Accept reference to load_path object as
argument.
* interpreter.cc (interpreter::interpreter): Pass *this to load_path
constructor.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Sep 2019 18:23:46 -0400 |
parents | 50216d7a2f6b |
children | 9b19eec60931 |
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.cc Wed Sep 11 16:46:54 2019 -0400 +++ b/libinterp/corefcn/interpreter.cc Wed Sep 11 18:23:46 2019 -0400 @@ -371,7 +371,7 @@ m_output_system (*this), m_history_system (*this), m_dynamic_loader (*this), - m_load_path (), + m_load_path (*this), m_load_save_system (*this), m_type_info (), m_symbol_table (*this),