Fix human-readable uptime example so it compiles (#949)

This commit is contained in:
Dave Walker 2021-01-24 01:21:58 -08:00 committed by GitHub
parent 0e949047ae
commit e4d01c804e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ with human readable output.
return (
(days ? String(days) + "d " : "") +
(hours ? String(hours) + "h " : "") +
(minutes ? String(minutes + "m " : "") +
(minutes ? String(minutes) + "m " : "") +
(String(seconds) + "s")
).c_str();