diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:36:13 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:36:13 +0200 |
commit | e468d541b45b3885aa20f6dfbb2c0d838290d43a (patch) | |
tree | 8672a8cd72e31f84551acbafde659c3112e34a01 /src/mnemonics/lojban.h | |
parent | Merge pull request #4306 (diff) | |
parent | mnemonics: fix outrageous compile time with CLANG in release (diff) | |
download | monero-e468d541b45b3885aa20f6dfbb2c0d838290d43a.tar.xz |
Merge pull request #4311
f0bc684c mnemonics: fix outrageous compile time with CLANG in release (moneromooo-monero)
Diffstat (limited to 'src/mnemonics/lojban.h')
-rw-r--r-- | src/mnemonics/lojban.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mnemonics/lojban.h b/src/mnemonics/lojban.h index 0966a1169..5162a8ec9 100644 --- a/src/mnemonics/lojban.h +++ b/src/mnemonics/lojban.h @@ -56,7 +56,10 @@ namespace Language class Lojban: public Base
{
public:
- Lojban(): Base("Lojban", "Lojban", std::vector<std::string>({
+ Lojban(): Base("Lojban", "Lojban", {}, 4)
+ {
+ static constexpr const char * const words[NWORDS] =
+ {
"backi",
"bacru",
"badna",
@@ -1683,8 +1686,8 @@ namespace Language "noltruti'u",
"samtci",
"snaxa'a",
- }), 4)
- {
+ };
+ set_words(words);
populate_maps();
}
};
|