aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/japanese.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-08-29 09:42:23 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-08-29 09:53:48 +0000
commitf0bc684ccdc7bc66010254c9136f960467e6a3db (patch)
treeee691faace790a96048aaaad7b51eff65f4d5ac7 /src/mnemonics/japanese.h
parentMerge pull request #4223 (diff)
downloadmonero-f0bc684ccdc7bc66010254c9136f960467e6a3db.tar.xz
mnemonics: fix outrageous compile time with CLANG in release
from several minutes to 10-15 seconds
Diffstat (limited to '')
-rw-r--r--src/mnemonics/japanese.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mnemonics/japanese.h b/src/mnemonics/japanese.h
index f3b3e4924..5baabedf2 100644
--- a/src/mnemonics/japanese.h
+++ b/src/mnemonics/japanese.h
@@ -71,7 +71,10 @@ namespace Language
class Japanese: public Base
{
public:
- Japanese(): Base("日本語", "Japanese", std::vector<std::string>({
+ Japanese(): Base("日本語", "Japanese", {}, 3)
+ {
+ static constexpr const char * const words[NWORDS] =
+ {
"あいこくしん",
"あいさつ",
"あいだ",
@@ -1698,8 +1701,8 @@ namespace Language
"ひさん",
"びじゅつかん",
"ひしょ"
- }), 3)
- {
+ };
+ set_words(words);
populate_maps();
}
};