summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules/sink_list.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 20:24:51 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 20:24:51 +0200
commitc81fe1578e4151e230ffa08a6c5b26b535593ee7 (patch)
treeb301309f15b9f70f52b05a13af756352bced84cb /sinksh/syntax_modules/sink_list.cpp
parenteb54f3795fb276046c1a4c0e81fb5426f0659550 (diff)
downloadsink-c81fe1578e4151e230ffa08a6c5b26b535593ee7.tar.gz
sink-c81fe1578e4151e230ffa08a6c5b26b535593ee7.zip
Copy the entity when we return it.
Otherwise we easily end up copying it and then have an entity that points into nowhere. Callback -> no copy, no callback -> copy.
Diffstat (limited to 'sinksh/syntax_modules/sink_list.cpp')
0 files changed, 0 insertions, 0 deletions