From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2DateTime.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/T2DateTime.h') diff --git a/src/T2DLL/T2DateTime.h b/src/T2DLL/T2DateTime.h index faf02fe..7104fe9 100644 --- a/src/T2DLL/T2DateTime.h +++ b/src/T2DLL/T2DateTime.h @@ -1,11 +1,18 @@ #pragma once #include "common.h" -class AFX_EXT_CLASS T2DateTime { +class AFX_CLASS_EXPORT T2DateTime { public: T2DateTime(); T2DateTime(int year, int month, int hours, int minutes, int seconds); T2DateTime(T2Archive& archive); + T2DateTime(const T2DateTime &other) + : mYear(other.mYear) + , mMonth(other.mMonth) + , mRawMinutes(other.mRawMinutes) + , mSeconds(other.mSeconds) + {} + virtual ~T2DateTime(); virtual void Write(T2Archive& archive); -- cgit v1.2.3