diff --git a/src/Magnum/DebugTools/FrameProfiler.cpp b/src/Magnum/DebugTools/FrameProfiler.cpp index b7c5411bd..4226d60e8 100644 --- a/src/Magnum/DebugTools/FrameProfiler.cpp +++ b/src/Magnum/DebugTools/FrameProfiler.cpp @@ -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; @@ -186,7 +186,7 @@ void FrameProfiler::endFrame() { if(++_measuredFrameCount <= _maxFrameCount) arrayAppend(_data, NoInit, _measurements.size()); - /* Wrap up measurements for this frame */ + /* Wrap up measurements for this frame */ for(std::size_t i = 0; i != _measurements.size(); ++i) { Measurement& measurement = _measurements[i]; const UnsignedInt measurementDelay = Math::max(1u, measurement._delay); diff --git a/src/Magnum/DebugTools/FrameProfiler.h b/src/Magnum/DebugTools/FrameProfiler.h index 0ab1dfa61..c668b8ae8 100644 --- a/src/Magnum/DebugTools/FrameProfiler.h +++ b/src/Magnum/DebugTools/FrameProfiler.h @@ -497,8 +497,8 @@ class MAGNUM_DEBUGTOOLS_EXPORT FrameProfiler::Measurement { } _query; void* _state; Units _units; - /* Set to 0 to distinguish immediate measurements (first - constructor), however always used as max(_delay, 1) */ + /* Set to 0 to distinguish immediate measurements (first constructor), + however always used as max(_delay, 1) */ UnsignedInt _delay; UnsignedInt _current{};