diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-09 01:34:11 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-09 01:34:11 +0000 |
commit | c7ae084501a05d89e8136b44600aad74273cd892 (patch) | |
tree | 469b0e8cb8aec90c3e46205f61e1e8c6b58df8ff /cpp/src/Slice/Parser.cpp | |
parent | slice2docbook fixes; cleanup (diff) | |
download | ice-c7ae084501a05d89e8136b44600aad74273cd892.tar.bz2 ice-c7ae084501a05d89e8136b44600aad74273cd892.tar.xz ice-c7ae084501a05d89e8136b44600aad74273cd892.zip |
fixes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 97895eab9b6..73754ae3147 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1536,7 +1536,7 @@ Slice::Unit::ignRedefs() void Slice::Unit::setComment(const std::string& comment) { - _currentComment.clear(); + _currentComment = ""; string::size_type end = 0; while (true) @@ -1754,7 +1754,7 @@ Slice::Unit::parse(FILE* file, bool debug) assert(!Slice::unit); Slice::unit = this; - _currentComment.clear(); + _currentComment = ""; _currentLine = 1; _currentIncludeLevel = 0; _currentFile = "<standard input>"; |