From 8e4c2af279ad579673a533d4953b813bfe4ebf66 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Tue, 20 Dec 2022 23:52:45 +0100 Subject: [PATCH] Applied google-readability-casting clang-tidy fixes --- src/decorators/decorators.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decorators/decorators.cc b/src/decorators/decorators.cc index 2fb101bb..b75840c7 100644 --- a/src/decorators/decorators.cc +++ b/src/decorators/decorators.cc @@ -75,7 +75,7 @@ decorator_toks decorator::tokenize(const std::string &label, std::string_view c) if (!d.empty()) { std::string d_str{d}; d_str.erase(std::remove_if(d_str.begin(), d_str.end(), - (int (*)(int))std::isspace), + static_cast(std::isspace)), d_str.end()); res.diagrams = util::split(d_str, ","); }