diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-08-30 20:17:31 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-08-30 20:17:31 +0000 |
commit | cd6800705f56ce14a755e12a3bda1fc6dfb23930 (patch) | |
tree | e93ae0a2f371361e370a4051fd6945a5ed0ee14f /cpp/src | |
parent | Added to prevent db directory from being removed. (diff) | |
download | ice-cd6800705f56ce14a755e12a3bda1fc6dfb23930.tar.bz2 ice-cd6800705f56ce14a755e12a3bda1fc6dfb23930.tar.xz ice-cd6800705f56ce14a755e12a3bda1fc6dfb23930.zip |
fixing assert for empty string
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/StringUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/StringUtil.cpp b/cpp/src/Ice/StringUtil.cpp index 2a2ebabcee2..19ae9762978 100644 --- a/cpp/src/Ice/StringUtil.cpp +++ b/cpp/src/Ice/StringUtil.cpp @@ -144,7 +144,7 @@ IceInternal::decodeString(const string& s, string::size_type start, string::size } assert(start >= 0); assert(end <= len); - assert(start < end); + assert(start <= end); while(start < end) { |