Skip to content

Commit

Permalink
fix build warning about misleading indentation
Browse files Browse the repository at this point in the history
fixes #491
  • Loading branch information
Alok Priyadarshi committed May 2, 2022
1 parent 1d04523 commit e542280
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cpp/flann/util/any.h
Original file line number Diff line number Diff line change
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 e542280

Please sign in to comment.