Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/xmagics/xassist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ namespace xcpp
if (c < 0x20 || c > 0x7E)
{
// Escape non-printable ASCII characters and non-ASCII characters
std::array<char, 7> buffer{};
std::stringstream ss;
ss << "\\u" << std::hex << std::setw(4) << std::setfill('0') << (c & 0xFFFF);
escaped += ss.str();
Expand Down Expand Up @@ -527,4 +526,4 @@ namespace xcpp
std::cerr << "Caught an unknown exception" << std::endl;
}
}
} // namespace xcpp
} // namespace xcpp
Loading