1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:29:55 +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 bsatool: Support extracting files with forward slash paths 2023-11-27 03:09:38 +03:00
bulletobjecttool Localize Launcher and Wizard 2024-02-01 09:47:25 +04:00
esmtool Improve esmtool output 2024-01-22 09:52:32 +04:00
essimporter Use move semantics for tools 2024-01-21 20:20:37 +04:00
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 Merge branch 'vfs_normalized_path_1' into 'master' 2024-01-28 21:34:01 +00:00
opencs Cleanup(columnimp): Use std::clamp to limit race scaling 2024-02-15 21:25:29 -06:00
opencs_tests Write StringRefId as is when converting UniversalId to string 2023-12-29 14:12:36 +01:00
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