Browse Source

Adapted to Corrade changes.

pull/7/head
Vladimír Vondruš 14 years ago
parent
commit
a4da7b764a
  1. 2
      src/Array.h
  2. 2
      src/DebugTools/Profiler.cpp
  3. 2
      src/Math/RectangularMatrix.h
  4. 2
      src/Math/Vector.h

2
src/Array.h

@ -186,7 +186,7 @@ template<std::uint8_t dimensions, class T> Corrade::Utility::Debug operator<<(Co
if(i != 0) debug << ", ";
debug << value[i];
}
debug << ')';
debug << ")";
debug.setFlag(Corrade::Utility::Debug::SpaceAfterEachValue, true);
return debug;
}

2
src/DebugTools/Profiler.cpp

@ -105,7 +105,7 @@ void Profiler::printStatistics() {
Debug() << "Statistics for last" << measureDuration << "frames:";
for(std::size_t i = 0; i != sections.size(); ++i)
Debug() << ' ' << sections[totalSorted[i]] << std::chrono::microseconds(totalData[totalSorted[i]]).count()/frameCount << u8"µs";
Debug() << " " << sections[totalSorted[i]] << std::chrono::microseconds(totalData[totalSorted[i]]).count()/frameCount << u8"µs";
}
}}

2
src/Math/RectangularMatrix.h

@ -427,7 +427,7 @@ template<std::size_t cols, std::size_t rows, class T> Corrade::Utility::Debug op
debug << typename MathTypeTraits<T>::NumericType(value[col][row]);
}
}
debug << ')';
debug << ")";
debug.setFlag(Corrade::Utility::Debug::SpaceAfterEachValue, true);
return debug;
}

2
src/Math/Vector.h

@ -326,7 +326,7 @@ template<std::size_t size, class T> Corrade::Utility::Debug operator<<(Corrade::
if(i != 0) debug << ", ";
debug << typename MathTypeTraits<T>::NumericType(value[i]);
}
debug << ')';
debug << ")";
debug.setFlag(Corrade::Utility::Debug::SpaceAfterEachValue, true);
return debug;
}

Loading…
Cancel
Save