aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/french.h
diff options
context:
space:
mode:
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();
}
};