diff options
author | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-21 10:42:17 +0100 |
---|---|---|
committer | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-21 10:42:17 +0100 |
commit | 9c1724988dca676620a8b6b7326bf649c65422c6 (patch) | |
tree | 436c82a83c7454ac0399dc56dfb6cfe795181a43 | |
parent | d7173b8949b0cc871cfabfe3720c19e7444eefae (diff) |
Removed unneeded warning.
Remove \2 at the end.
-rw-r--r-- | kana2romaji.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kana2romaji.cpp b/kana2romaji.cpp index 2963dcf..01124fd 100644 --- a/kana2romaji.cpp +++ b/kana2romaji.cpp @@ -417,7 +417,6 @@ void kana2romaji(const string& kana, string& rom) { } else { - cout << "Encountered a placeholder at the beginning. Just removing it." << endl; rom.erase(pos); } } @@ -426,5 +425,7 @@ void kana2romaji(const string& kana, string& rom) { { if(pos + 1 < rom.size()) rom[pos] = rom[pos + 1]; + else + rom.erase(pos); } } |