mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 12:51:15 -03:00
Migrated function_data_t out of base block class
Removed an auto_ptr (yay)
This commit is contained in:
@@ -3628,7 +3628,6 @@ block_t::block_t(block_type_t t) :
|
||||
tok_pos(),
|
||||
loop_status(),
|
||||
job(),
|
||||
function_data(),
|
||||
src_filename(),
|
||||
src_lineno(),
|
||||
wants_pop_env(false),
|
||||
@@ -3696,6 +3695,7 @@ fake_block_t::fake_block_t() :
|
||||
}
|
||||
|
||||
function_def_block_t::function_def_block_t() :
|
||||
function_data(),
|
||||
block_t(FUNCTION_DEF)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user