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/german.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 'src/mnemonics/german.h')
-rw-r--r-- | src/mnemonics/german.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mnemonics/german.h b/src/mnemonics/german.h index 8eff43523..883a173a3 100644 --- a/src/mnemonics/german.h +++ b/src/mnemonics/german.h @@ -51,7 +51,10 @@ namespace Language class German: public Base
{
public:
- German(): Base("Deutsch", "German", std::vector<std::string>({
+ German(): Base("Deutsch", "German", {}, 4)
+ {
+ static constexpr const char * const words[NWORDS] =
+ {
"Abakus",
"Abart",
"abbilden",
@@ -1678,8 +1681,8 @@ namespace Language "Zündung",
"Zweck",
"Zyklop"
- }), 4)
- {
+ };
+ set_words(words);
populate_maps();
}
};
|