summaryrefslogtreecommitdiff
path: root/src/input.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-03-03 14:28:09 +0000
committerBruno Haible <bruno@clisp.org>2003-03-03 14:28:09 +0000
commit9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6 (patch)
tree5c8094a1c3fbea42dd6328fc89837d5df8475426 /src/input.cc
parentea37cea17b7ec6904823efbfd75fef85b31266ea (diff)
downloadgperf-9fa3ac42b377a7a8c519d64e25cbe83c7d3300a6.tar.gz
Portability fixes.
Diffstat (limited to 'src/input.cc')
-rw-r--r--src/input.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input.cc b/src/input.cc
index fbb0bea..3c81ba4 100644
--- a/src/input.cc
+++ b/src/input.cc
@@ -915,8 +915,8 @@ Input::read_input ()
Input::~Input ()
{
/* Free allocated memory. */
- delete[] _return_type;
- delete[] _struct_tag;
- delete[] _struct_decl;
+ delete[] const_cast<char*>(_return_type);
+ delete[] const_cast<char*>(_struct_tag);
+ delete[] const_cast<char*>(_struct_decl);
delete[] _input;
}