- Fixed some clang-tidy warnings
- Fixed issue with omnitrace_launch_compiler + clang-tidy
Dieser Commit ist enthalten in:
Jonathan R. Madsen verfasst und GitHub committed 2022-05-25 14:18:55 -05:00
1 Ursprung ee67748042
Commit 6af5b2a7e2
5 Dateien geändert
+30 -18

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -1022,7 +1022,7 @@ omnitrace_finalize_hidden(void)
auto& _aitr = get_timemory_hash_aliases(i);
if(_hzero && _hitr)
{
for(auto itr : *_hitr)
for(const auto& itr : *_hitr)
_hzero->emplace(itr.first, itr.second);
}
if(_azero && _aitr)
+2 -4
Datei anzeigen
@@ -53,10 +53,8 @@ TIMEMORY_DECLARE_TYPE_TRAIT(name, typename Tp)
static constexpr auto value = NAME; \
}; \
template <> \
struct name<type_list<__VA_ARGS__>> \
{ \
static constexpr auto value = NAME; \
}; \
struct name<type_list<__VA_ARGS__>> : name<__VA_ARGS__> \
{}; \
} \
}
@@ -36,7 +36,6 @@ namespace thread_sampler
{
namespace
{
using tim::type_mutex;
using auto_lock_t = tim::auto_lock_t;
using promise_t = std::promise<void>;
std::unique_ptr<promise_t> polling_finished = {};