Clock: renamed getElapsed in favor of getElapsedTimeAndReset. Since it was not very clear what it was doing.

ecode: Some minor clean up.
This commit is contained in:
Martín Lucas Golini
2023-03-16 01:02:56 -03:00
parent ec67e0b13f
commit e5a8146674
15 changed files with 66 additions and 59 deletions
+1 -1
View File
@@ -3334,7 +3334,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
Clock defClock;
SyntaxDefinitionManager::createSingleton();
Log::info( "Syntax definitions loaded in %.2f ms.",
defClock.getElapsed().asMilliseconds() );
defClock.getElapsedTimeAndReset().asMilliseconds() );
UIWidgetCreator::registerWidget( "searchbar", UISearchBar::New );
UIWidgetCreator::registerWidget( "locatebar", UILocateBar::New );