|
|
|
|
@ -99,7 +99,7 @@ FrameProfiler& FrameProfiler::operator=(FrameProfiler&& other) noexcept {
|
|
|
|
|
if(measurement._state == &other) measurement._state = this; |
|
|
|
|
|
|
|
|
|
/* And the same the other way to avoid the other instance accidentally
|
|
|
|
|
affecting out measurements */ |
|
|
|
|
affecting our measurements */ |
|
|
|
|
for(Measurement& measurement: other._measurements) |
|
|
|
|
if(measurement._state == this) measurement._state = &other; |
|
|
|
|
|
|
|
|
|
|