diff options
| -rw-r--r-- | malaprop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/malaprop.cpp b/malaprop.cpp index ccdd4c4..ff0cb5d 100644 --- a/malaprop.cpp +++ b/malaprop.cpp | |||
| @@ -121,7 +121,7 @@ std::string malaprop::alternate(std::string word) | |||
| 121 | { | 121 | { |
| 122 | return word; | 122 | return word; |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | int opt = rand() % opts.size(); | 125 | int opt = rand() % opts.size(); |
| 126 | for (std::set<std::string>::iterator it = opts.begin(); it != opts.end(); it++) | 126 | for (std::set<std::string>::iterator it = opts.begin(); it != opts.end(); it++) |
| 127 | { | 127 | { |
