diff options
author | Marc Laukien <marc@zeroc.com> | 2002-10-29 19:04:00 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-10-29 19:04:00 +0000 |
commit | bda64ab89f5fae90f848758695d4c5728b30e424 (patch) | |
tree | 46171889152a100089eade14da54968fde4a77fe /cpp/src/Slice/Parser.cpp | |
parent | Implemented connect-time handshaking. (diff) | |
download | ice-bda64ab89f5fae90f848758695d4c5728b30e424.tar.bz2 ice-bda64ab89f5fae90f848758695d4c5728b30e424.tar.xz ice-bda64ab89f5fae90f848758695d4c5728b30e424.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 5655da7e421..6d4ff64d2f6 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -3516,7 +3516,7 @@ Slice::Unit::setComment(const string& comment) string Slice::Unit::currentComment() { - string comment; + string comment = ""; comment.swap(_currentComment); return comment; } @@ -3600,7 +3600,7 @@ Slice::Unit::scanPosition(const char* s) { --_currentIncludeLevel; } - _currentComment.erase(); + _currentComment = ""; } else { |