diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-08-29 09:42:23 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-08-29 09:53:48 +0000 |
commit | f0bc684ccdc7bc66010254c9136f960467e6a3db (patch) | |
tree | ee691faace790a96048aaaad7b51eff65f4d5ac7 /src/mnemonics/dutch.h | |
parent | Merge pull request #4223 (diff) | |
download | monero-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/dutch.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mnemonics/dutch.h b/src/mnemonics/dutch.h index c9806f450..801caf986 100644 --- a/src/mnemonics/dutch.h +++ b/src/mnemonics/dutch.h @@ -49,7 +49,10 @@ namespace Language class Dutch: public Base
{
public:
- Dutch(): Base("Nederlands", "Dutch", std::vector<std::string>({
+ Dutch(): Base("Nederlands", "Dutch", {}, 4)
+ {
+ static constexpr const char * const words[NWORDS] =
+ {
"aalglad",
"aalscholver",
"aambeeld",
@@ -1676,8 +1679,8 @@ namespace Language "zwiep",
"zwijmel",
"zworen"
- }), 4)
- {
+ };
+ set_words(words);
populate_maps();
}
};
|