diff options
author | Jan Kanis <jan.code@jankanis.nl> | 2012-12-22 18:38:28 +0100 |
---|---|---|
committer | Jan Kanis <jan.code@jankanis.nl> | 2012-12-22 18:38:28 +0100 |
commit | 8a446f43ff184fad6f7aeca05fca51bb3aac2d91 (patch) | |
tree | bfa5dbe4803b4c74a7889f0a305b77f4c5b49c7f /parser.cpp | |
parent | 30392bf66a79b91ad2fa10b369f151540c40c09e (diff) |
include fixes and suggestions from code review
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -893,7 +893,7 @@ void parser_t::stack_trace(block_t *b, wcstring &buff) This is an event handler */ const event_block_t *eb = static_cast<const event_block_t *>(b); - wcstring description = event_get_desc(*eb->event); + wcstring description = event_get_desc(eb->event); append_format(buff, _(L"in event handler: %ls\n"), description.c_str()); buff.append(L"\n"); @@ -3798,7 +3798,7 @@ if_block_t::if_block_t() : { } -event_block_t::event_block_t(const event_t *evt) : +event_block_t::event_block_t(const event_t &evt) : block_t(EVENT), event(evt) { |