aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/russian.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-18 17:36:13 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-18 17:36:13 +0200
commite468d541b45b3885aa20f6dfbb2c0d838290d43a (patch)
tree8672a8cd72e31f84551acbafde659c3112e34a01 /src/mnemonics/russian.h
parentMerge pull request #4306 (diff)
parentmnemonics: fix outrageous compile time with CLANG in release (diff)
downloadmonero-e468d541b45b3885aa20f6dfbb2c0d838290d43a.tar.xz
Merge pull request #4311
f0bc684c mnemonics: fix outrageous compile time with CLANG in release (moneromooo-monero)
Diffstat (limited to 'src/mnemonics/russian.h')
-rw-r--r--src/mnemonics/russian.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mnemonics/russian.h b/src/mnemonics/russian.h
index d5dd556ef..f3e70ede6 100644
--- a/src/mnemonics/russian.h
+++ b/src/mnemonics/russian.h
@@ -51,7 +51,10 @@ namespace Language
class Russian: public Base
{
public:
- Russian(): Base("русский язык", "Russian", std::vector<std::string>({
+ Russian(): Base("русский язык", "Russian", {}, 4)
+ {
+ static constexpr const char * const words[NWORDS] =
+ {
"абажур",
"абзац",
"абонент",
@@ -1678,8 +1681,8 @@ namespace Language
"яхта",
"ячейка",
"ящик"
- }), 4)
- {
+ };
+ set_words(words);
populate_maps();
}
};