summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-08-23 21:27:07 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-08-23 21:27:07 -0400
commit16968198819522cefa214aea67e703d20d2db664 (patch)
tree2f30a1e061a81088898fa735f22b67acc50de6c1
parent5cb64c4bf11b233958a0f44edca39a1cab3a030f (diff)
added comment.
-rw-r--r--permute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/permute.cpp b/permute.cpp
index 0829550..ba89e72 100644
--- a/permute.cpp
+++ b/permute.cpp
@@ -30,7 +30,7 @@ void do_permute(const string& pool, string& perm, vector<string>& perms)
tmp.push_back(pool[j]);
}
do_permute(tmp, perm, perms);
- perm.resize(perm.size()-1);
+ perm.resize(perm.size()-1); // pop back one character.
}
}