summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/StringLiteralUtil.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-10-09 21:58:46 +0200
committerJose <jose@zeroc.com>2017-10-09 21:58:46 +0200
commit5e445567683deebded1c12e78796e998cbf16ae8 (patch)
treeb854d4547e5b68225c1882290414a996c44002c8 /cpp/src/Slice/StringLiteralUtil.cpp
parentInternal code cleanup (diff)
downloadice-5e445567683deebded1c12e78796e998cbf16ae8.tar.bz2
ice-5e445567683deebded1c12e78796e998cbf16ae8.tar.xz
ice-5e445567683deebded1c12e78796e998cbf16ae8.zip
Update MATLAB build system
Diffstat (limited to 'cpp/src/Slice/StringLiteralUtil.cpp')
-rw-r--r--cpp/src/Slice/StringLiteralUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/StringLiteralUtil.cpp b/cpp/src/Slice/StringLiteralUtil.cpp
index 80c322b4d7f..6eb0e4bf650 100644
--- a/cpp/src/Slice/StringLiteralUtil.cpp
+++ b/cpp/src/Slice/StringLiteralUtil.cpp
@@ -175,7 +175,7 @@ StringLiteralGenerator::escapeASCIIChar(char c)
// legal characters. If the trailing character after an escaped value could be consumed, we escape it
// as well to terminate the original escape.
//
- if((lastFormat == OctalFormat && _octalChars.find(c) != string::npos) ||
+ if((lastFormat == OctalFormat && _octalChars.find(c) != string::npos) ||
(lastFormat == HexFormat && _hexChars.find(c) != string::npos))
{
ostringstream os;