aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/italian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonics/italian.h')
-rw-r--r--src/mnemonics/italian.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mnemonics/italian.h b/src/mnemonics/italian.h
index 08852a97b..da0e1363c 100644
--- a/src/mnemonics/italian.h
+++ b/src/mnemonics/italian.h
@@ -1,6 +1,6 @@
// Word list created by Monero contributor Shrikez
//
-// Copyright (c) 2014-2016, The Monero Project
+// Copyright (c) 2014-2017, The Monero Project
//
// All rights reserved.
//
@@ -51,9 +51,7 @@ namespace Language
class Italian: public Base
{
public:
- Italian()
- {
- word_list = new std::vector<std::string>({
+ Italian(): Base("Italiano", std::vector<std::string>({
"abbinare",
"abbonato",
"abisso",
@@ -1680,14 +1678,11 @@ namespace Language
"zolfo",
"zombie",
"zucchero"
- });
- 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 = "Italian";
+ }), 4)
+ {
populate_maps();
}
};
}
-#endif
+#endif