diff options
| author | Werner LEMBERG <wl@gnu.org> | 2010-12-15 20:44:39 +0000 |
|---|---|---|
| committer | Werner LEMBERG <wl@gnu.org> | 2010-12-15 20:44:39 +0000 |
| commit | 9e88f163015a5e1996e5248863e91b400d530144 (patch) | |
| tree | 9ccf37d61382d4dab349aee19ee49482dfb46b57 /src/roff/troff/node.cpp | |
| parent | a521e596aa8f2f07bb5306baa925bb3f2d2c7344 (diff) | |
| download | groff-git-9e88f163015a5e1996e5248863e91b400d530144.tar.gz | |
Fix compilation problem.
This issue happens with gcc 4.2.4.
* src/roff/troff/node.cpp (node::~node): Move to...
* src/roff/troff/node.h: Here. This ensures that the inline
member function is publicly visible.
Diffstat (limited to 'src/roff/troff/node.cpp')
| -rw-r--r-- | src/roff/troff/node.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp index 0f22857fc..9a964a0d5 100644 --- a/src/roff/troff/node.cpp +++ b/src/roff/troff/node.cpp @@ -1811,14 +1811,6 @@ void suppress_output_file::really_transparent_char(unsigned char) { } -inline node::~node() -{ - if (state != 0) - delete state; - if (push_state != 0) - delete push_state; -} - /* glyphs, ligatures, kerns, discretionary breaks */ class charinfo_node : public node { |
