🚨 fix warnings #2113
This commit is contained in:
parent
f40a9f876a
commit
28e20bd9e4
8 changed files with 47 additions and 20 deletions
2
test/thirdparty/doctest/doctest.h
vendored
2
test/thirdparty/doctest/doctest.h
vendored
|
@ -2913,7 +2913,7 @@ typedef timer_large_integer::type ticks_t;
|
|||
//unsigned int getElapsedMilliseconds() const {
|
||||
// return static_cast<unsigned int>(getElapsedMicroseconds() / 1000);
|
||||
//}
|
||||
double getElapsedSeconds() const { return (getCurrentTicks() - m_ticks) / 1000000.0; }
|
||||
double getElapsedSeconds() const { return static_cast<double>((getCurrentTicks() - m_ticks)) / 1000000.0; }
|
||||
|
||||
private:
|
||||
ticks_t m_ticks = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue