Build fixes for clang 10 (#339)

* Build fixes for clang 10

fixes build warnings in clang10

* source formatting (clang-format v11) (#340)

Co-authored-by: bwelton <bwelton@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
Bu işleme şunda yer alıyor:
Benjamin Welton
2024-01-05 15:20:11 -08:00
işlemeyi yapan: GitHub
ebeveyn 199f0b5421
işleme 0dd0cad2e4
3 değiştirilmiş dosya ile 15 ekleme ve 13 silme
+1 -1
Dosyayı Görüntüle
@@ -639,7 +639,7 @@ tool_init(rocprofiler_client_finalize_t fini_func, void* tool_data)
void
tool_fini(void* tool_data)
{
static auto _once = std::atomic_flag{ATOMIC_FLAG_INIT};
static std::atomic_flag _once = ATOMIC_FLAG_INIT;
if(_once.test_and_set()) return;
stop();