summaryrefslogtreecommitdiff
path: root/dexdump/dexdump_cfg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dexdump/dexdump_cfg.cc')
-rw-r--r--dexdump/dexdump_cfg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dexdump/dexdump_cfg.cc b/dexdump/dexdump_cfg.cc
index 69ee0682a3..7e534ed359 100644
--- a/dexdump/dexdump_cfg.cc
+++ b/dexdump/dexdump_cfg.cc
@@ -120,7 +120,7 @@ static void dumpMethodCFGImpl(const DexFile* dex_file,
os << inst_str.substr(cur_start, next_escape - cur_start);
// Escape all necessary characters.
while (next_escape < inst_str.size()) {
- char c = inst_str.at(next_escape);
+ char c = inst_str[next_escape];
if (c == '"' || c == '{' || c == '}' || c == '<' || c == '>') {
os << '\\' << c;
} else {