Skip to content

Commit abdcd02

Browse files
alokprAlok Priyadarshi
authored andcommitted
fix build warning about misleading indentation
fixes #491
1 parent 1d04523 commit abdcd02

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cpp/flann/util/any.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ struct big_any_policy : typed_base_any_policy<T>
7878
{
7979
virtual void static_delete(void** x)
8080
{
81-
if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
81+
if (* x)
82+
{
83+
delete (* reinterpret_cast<T**>(x));
84+
*x = NULL;
85+
}
8286
}
8387
virtual void copy_from_value(void const* src, void** dest)
8488
{

0 commit comments

Comments
 (0)