1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps
elsid da5ab2b2c9
Fix benchmark warning: -Wdeprecated-declarations
/home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp: In function ‘void {anonymous}::getFromFilledCache(benchmark::State&)’:
/home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp:186:37: warning: ‘typename std::enable_if<((! std::is_trivially_copyable<_Tp>::value) || (sizeof (Tp) > sizeof (Tp*)))>::type benchmark::DoNotOptimize(const Tp&) [with Tp = DetourNavigator::NavMeshTilesCache::Value; typename std::enable_if<((! std::is_trivially_copyable<_Tp>::value) || (sizeof (Tp) > sizeof (Tp*)))>::type = void]’ is deprecated: The const-ref version of this method can permit undesired compiler optimizations in benchmarks [-Wdeprecated-declarations]
  186 |             benchmark::DoNotOptimize(result);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /home/elsid/dev/openmw/apps/benchmarks/detournavigator/navmeshtilescache.cpp:1:
/home/elsid/dev/benchmark/build/gcc/release/install/include/benchmark/benchmark.h:507:5: note: declared here
  507 |     DoNotOptimize(Tp const& value) {
      |     ^~~~~~~~~~~~~
2024-02-18 14:25:03 +01:00
..
benchmarks Fix benchmark warning: -Wdeprecated-declarations 2024-02-18 14:25:03 +01:00
bsatool
bulletobjecttool Localize Launcher and Wizard 2024-02-01 09:47:25 +04:00
esmtool
essimporter
launcher Merge branch 'copy_qtbase' into 'master' 2024-02-15 09:26:42 +00:00
mwiniimporter Fix some Coverity Scan complaints 2024-02-02 09:28:19 +04:00
navmeshtool Localize Launcher and Wizard 2024-02-01 09:47:25 +04:00
niftest
opencs Cleanup(columnimp): Use std::clamp to limit race scaling 2024-02-15 21:25:29 -06:00
opencs_tests
openmw Merge branch 'debugdrawdebugged' into 'master' 2024-02-17 18:56:21 +00:00
openmw_test_suite Test LuaUtil::safeGet preventing crash 2024-02-14 09:49:32 +01:00
wizard Deploy base Qt translations when needed 2024-02-15 09:26:14 +04:00
doc.hpp