From 36ba43d6ea38062b17f7e63ef659962bfc51c64d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jun 2017 23:34:34 +0300 Subject: Fix clang-tidy check readability-implicit-bool-cast. --- src/resources/beinginfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index a68e7ca7b..0b1b0e7b4 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -317,7 +317,7 @@ class BeingInfo final { mAllowDelete = b; } int getAllowDelete() const noexcept2 A_WARN_UNUSED - { return mAllowDelete; } + { return static_cast(mAllowDelete); } void setQuickActionEffectId(const int n) { mQuickActionEffectId = n; } -- cgit v1.2.3-70-g09d2