minor fix for recent PR (#255)

* minor fix

* clean
This commit is contained in:
Chao Liu
2022-05-24 21:51:34 -05:00
committed by GitHub
parent 40b59a63cc
commit 61851ae2b9
2 changed files with 3 additions and 4 deletions

View File

@@ -325,7 +325,7 @@ struct DynamicBuffer
{
if(is_valid_element)
{
atomic_add(c_style_pointer_cast<X*>(&p_data_[i]), x);
atomic_add<X>(c_style_pointer_cast<X*>(&p_data_[i]), x);
}
}
}