From abdcd024260c58271438292a2a80be5843e88807 Mon Sep 17 00:00:00 2001 From: Alok Priyadarshi Date: Mon, 2 May 2022 14:57:13 -0700 Subject: [PATCH] fix build warning about misleading indentation fixes #491 --- src/cpp/flann/util/any.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cpp/flann/util/any.h b/src/cpp/flann/util/any.h index 8014f6a4..d9d23a83 100644 --- a/src/cpp/flann/util/any.h +++ b/src/cpp/flann/util/any.h @@ -78,7 +78,11 @@ struct big_any_policy : typed_base_any_policy { virtual void static_delete(void** x) { - if (* x) delete (* reinterpret_cast(x)); *x = NULL; + if (* x) + { + delete (* reinterpret_cast(x)); + *x = NULL; + } } virtual void copy_from_value(void const* src, void** dest) {