mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Update Android example build to C++17
This commit is contained in:
parent
dfff93fe04
commit
96a4262fb9
@ -11,7 +11,7 @@ android {
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
// cppFlags "-std=c++14 -frtti -fexceptions"
|
||||
cppFlags "-std=c++17"
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ private:
|
||||
/// \return Time instance
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
static Time durationToTime(ClockImpl::duration duration);
|
||||
[[nodiscard]] static Time durationToTime(ClockImpl::duration duration);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Member data
|
||||
|
Loading…
Reference in New Issue
Block a user