aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/french.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-25 17:35:52 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-25 17:35:52 +0200
commitf64a0f2243dff291f277bfd2460ad2474d0b63a0 (patch)
tree45f0d0dec4015c29b531e029b4b4a184a955f5e9 /src/mnemonics/french.h
parentMerge pull request #1920 (diff)
parentmnemonics: sanity checks for word lists (diff)
downloadmonero-f64a0f2243dff291f277bfd2460ad2474d0b63a0.tar.xz
Merge pull request #1917
6e679478 mnemonics: sanity checks for word lists (moneromooo-monero) e98f1114 mnemonics: misc cleanup (moneromooo-monero)
Diffstat (limited to 'src/mnemonics/french.h')
-rw-r--r--src/mnemonics/french.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mnemonics/french.h b/src/mnemonics/french.h
index 2f6eb7e8a..6cf44a197 100644
--- a/src/mnemonics/french.h
+++ b/src/mnemonics/french.h
@@ -49,9 +49,7 @@ namespace Language
class French: public Base
{
public:
- French()
- {
- word_list = new std::vector<std::string>({
+ French(): Base("French", std::vector<std::string>({
"abandon",
"abattre",
"aboi",
@@ -1678,11 +1676,8 @@ namespace Language
"zinc",
"zone",
"zoom"
- });
- unique_prefix_length = 4;
- word_map = new std::unordered_map<std::string, uint32_t>;
- trimmed_word_map = new std::unordered_map<std::string, uint32_t>;
- language_name = "French";
+ }), 4)
+ {
populate_maps();
}
};