Skip to content

Commit

Permalink
fix build warning about misleading indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alokpr authored and Alok Priyadarshi committed May 2, 2022
1 parent 1d04523 commit abdcd02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cpp/flann/util/any.h
Expand Up @@ -78,7 +78,11 @@ struct big_any_policy : typed_base_any_policy<T>
{
virtual void static_delete(void** x)
{
if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
if (* x)
{
delete (* reinterpret_cast<T**>(x));
*x = NULL;
}
}
virtual void copy_from_value(void const* src, void** dest)
{
Expand Down

0 comments on commit abdcd02

Please sign in to comment.