diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-03-25 17:35:52 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-03-25 17:35:52 +0200 |
commit | f64a0f2243dff291f277bfd2460ad2474d0b63a0 (patch) | |
tree | 45f0d0dec4015c29b531e029b4b4a184a955f5e9 /src/mnemonics/japanese.h | |
parent | Merge pull request #1920 (diff) | |
parent | mnemonics: sanity checks for word lists (diff) | |
download | monero-f64a0f2243dff291f277bfd2460ad2474d0b63a0.tar.xz |
Merge pull request #1917
6e679478 mnemonics: sanity checks for word lists (moneromooo-monero)
e98f1114 mnemonics: misc cleanup (moneromooo-monero)
Diffstat (limited to 'src/mnemonics/japanese.h')
-rw-r--r-- | src/mnemonics/japanese.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mnemonics/japanese.h b/src/mnemonics/japanese.h index b437ae2af..09d05d132 100644 --- a/src/mnemonics/japanese.h +++ b/src/mnemonics/japanese.h @@ -51,9 +51,7 @@ namespace Language class Japanese: public Base
{
public:
- Japanese()
- {
- word_list = new std::vector<std::string>({
+ Japanese(): Base("Japanese", std::vector<std::string>({
"あいこくしん",
"あいさつ",
"あいだ",
@@ -1680,11 +1678,8 @@ namespace Language "ひさん",
"びじゅつかん",
"ひしょ"
- });
- unique_prefix_length = 3;
- word_map = new std::unordered_map<std::string, uint32_t>;
- trimmed_word_map = new std::unordered_map<std::string, uint32_t>;
- language_name = "Japanese";
+ }), 3)
+ {
populate_maps();
}
};
|