We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1959de2 commit 7a35feaCopy full SHA for 7a35fea
src/MicroOcpp/Core/Time.cpp
@@ -36,6 +36,11 @@ Timestamp::Timestamp() : MemoryManaged("Timestamp") {
36
37
}
38
39
+Timestamp::Timestamp(const Timestamp& other) {
40
+ *this = other;
41
+ updateMemoryTag(other.getMemoryTag());
42
+}
43
+
44
bool Timestamp::isUnixTime() const {
45
return time >= MO_MIN_TIME && time <= MO_MAX_TIME;
46
src/MicroOcpp/Core/Time.h
@@ -45,7 +45,7 @@ class Timestamp : public MemoryManaged {
public:
47
Timestamp();
48
- Timestamp(const Timestamp& other) = default;
+ Timestamp(const Timestamp& other);
49
MicroOcpp::Timestamp& operator=(const Timestamp& other) = default;
50
51
bool isUnixTime() const;
0 commit comments