Update Android example build to C++17

This commit is contained in:
Pawel Paruzel 2021-12-14 16:29:47 +01:00 committed by Vittorio Romeo
parent dfff93fe04
commit 96a4262fb9
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {
// cppFlags "-std=c++14 -frtti -fexceptions" cppFlags "-std=c++17"
} }
} }

View File

@ -136,7 +136,7 @@ private:
/// \return Time instance /// \return Time instance
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
static Time durationToTime(ClockImpl::duration duration); [[nodiscard]] static Time durationToTime(ClockImpl::duration duration);
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
// Member data // Member data