Integrate C++11 branch into 5_1-new

This commit is contained in:
teejusb
2019-06-22 12:35:38 -07:00
444 changed files with 19503 additions and 21007 deletions
+3 -3
View File
@@ -81,7 +81,7 @@ void ScreenSetTime::Update( float fDelta )
{
Screen::Update( fDelta );
time_t iNow = time(NULL);
time_t iNow = time(nullptr);
iNow += m_TimeOffset;
tm now;
@@ -113,7 +113,7 @@ bool ScreenSetTime::Input( const InputEventPlus &input )
void ScreenSetTime::ChangeValue( int iDirection )
{
time_t iNow = time(NULL);
time_t iNow = time(nullptr);
time_t iAdjusted = iNow + m_TimeOffset;
tm adjusted;
@@ -194,7 +194,7 @@ bool ScreenSetTime::MenuStart( const InputEventPlus &input )
else if( m_Selection == NUM_SetTimeSelection -1 ) // last row
{
/* Save the new time. */
time_t iNow = time(NULL);
time_t iNow = time(nullptr);
time_t iAdjusted = iNow + m_TimeOffset;
tm adjusted;