1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 09:15:38 +00:00
openmw/apps
elsid 9b412bc802
Fix benchmark warning: -Wdeprecated-declarations
Example:

apps/benchmarks/settings/access.cpp: In function ‘void {anonymous}::localStatic(benchmark::State&)’:
apps/benchmarks/settings/access.cpp:43:37: warning: ‘typename std::enable_if<(std::is_trivially_copyable<_Tp>::value && (sizeof (Tp) <= sizeof (Tp*)))>::type benchmark::DoNotOptimize(const Tp&) [with Tp = float; 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]
   43 |             benchmark::DoNotOptimize(v);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~^~~
2024-03-16 01:58:12 +01:00
..
benchmarks Fix benchmark warning: -Wdeprecated-declarations 2024-03-16 01:58:12 +01:00
bsatool Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
bulletobjecttool Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
esmtool Merge branch 'esm3structs' into 'master' 2024-03-15 11:02:42 +00:00
essimporter Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
launcher Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
mwiniimporter Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
navmeshtool Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
niftest Replace std::filesystem::path by std::string and std::string_view in nif code 2024-03-11 22:07:37 +01:00
opencs Merge branch 'esm3structs' into 'master' 2024-03-15 11:02:42 +00:00
opencs_tests Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
openmw Merge branch 'esm3structs' into 'master' 2024-03-15 11:02:42 +00:00
openmw_test_suite Merge branch 'yaml_parse' into 'master' 2024-03-15 11:02:05 +00:00
wizard Deploy base Qt translations when needed 2024-02-15 09:26:14 +04:00
doc.hpp