aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/old_english.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonics/old_english.h')
-rw-r--r--src/mnemonics/old_english.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mnemonics/old_english.h b/src/mnemonics/old_english.h
index 690e46616..1a96f4b1e 100644
--- a/src/mnemonics/old_english.h
+++ b/src/mnemonics/old_english.h
@@ -51,9 +51,7 @@ namespace Language
class OldEnglish: public Base
{
public:
- OldEnglish()
- {
- word_list = new std::vector<std::string>({
+ OldEnglish(): Base("OldEnglish", std::vector<std::string>({
"like",
"just",
"love",
@@ -1680,11 +1678,8 @@ namespace Language
"unseen",
"weapon",
"weary"
- });
- 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 = "OldEnglish";
+ }), 4)
+ {
populate_maps();
}
};