aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/english.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonics/english.h')
-rw-r--r--src/mnemonics/english.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/mnemonics/english.h b/src/mnemonics/english.h
index c42b752b1..e6cfa8951 100644
--- a/src/mnemonics/english.h
+++ b/src/mnemonics/english.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2016, The Monero Project
+// Copyright (c) 2014-2017, The Monero Project
//
// All rights reserved.
//
@@ -49,9 +49,7 @@ namespace Language
class English: public Base
{
public:
- English()
- {
- word_list = new std::vector<std::string>({
+ English(): Base("English", std::vector<std::string>({
"abbey",
"abducts",
"ability",
@@ -1678,11 +1676,8 @@ namespace Language
"zombie",
"zones",
"zoom"
- });
- unique_prefix_length = 3;
- word_map = new std::unordered_map<std::string, uint32_t>;
- trimmed_word_map = new std::unordered_map<std::string, uint32_t>;
- language_name = "English";
+ }), 3)
+ {
populate_maps();
}
};