diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-12 14:20:43 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-12 15:53:52 +0000 |
commit | e7b18609f6141b7ad4acb1e233aebd2fd48d775f (patch) | |
tree | 8534b2e980b63e2a9fedb9c86183ab2673a6b303 /src/memos.cpp | |
parent | cdcf0e2f9a8fb0e1c363fc65f71f3131fc6c5ea5 (diff) |
Add defines for the core serialisation type names.
Diffstat (limited to 'src/memos.cpp')
-rw-r--r-- | src/memos.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/memos.cpp b/src/memos.cpp index 00b60325a..809f895db 100644 --- a/src/memos.cpp +++ b/src/memos.cpp @@ -17,7 +17,8 @@ #include "account.h" #include "regchannel.h" -Memo::Memo() : Serializable("Memo") +Memo::Memo() + : Serializable(MEMO_TYPE) { mi = NULL; unread = receipt = false; @@ -35,7 +36,7 @@ Memo::~Memo() } Memo::Type::Type() - : Serialize::Type("Memo") + : Serialize::Type(MEMO_TYPE) { } @@ -82,7 +83,8 @@ Serializable *Memo::Type::Unserialize(Serializable *obj, Serialize::Data &data) return m; } -MemoInfo::MemoInfo() : memos("Memo") +MemoInfo::MemoInfo() + : memos(MEMO_TYPE) { } |