Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 749 vs 750 for /trunk/Source Code/Utility/Headers/StateTracker.h

Diff revisions: vs.
  @@ -60,14 +60,19 @@
60 60 {
61 61 }
62 62
63 + StateTracker(const StateTracker& other)
64 + : _trackedValues(other._trackedValues)
65 + {
66 + }
67 +
63 68 ~StateTracker()
64 69 {
65 70 }
66 71
72 +
73 +
67 74 StateTracker& operator=(const StateTracker& other) {
68 - for (U32 i = 0; i < to_const_uint(State::COUNT); ++i) {
69 - _trackedValues[i] = other._trackedValues[i];
70 - }
75 + _trackedValues = other._trackedValues;
71 76 return *this;
72 77 }
73 78