diff options
Diffstat (limited to 'cpp/src/Slice/StringLiteralUtil.cpp')
-rw-r--r-- | cpp/src/Slice/StringLiteralUtil.cpp | 2 |
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; |