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/imageset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/imageset.cpp') diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp index c2f1e532e..59a44c87f 100644 --- a/src/resources/imageset.cpp +++ b/src/resources/imageset.cpp @@ -39,7 +39,7 @@ ImageSet::ImageSet(Image *const img, const int width, const int height, mOffsetX(0), mOffsetY(0) { - if (img) + if (img != nullptr) { const int hAdd = height + spacing; const int wAdd = width + spacing; -- cgit v1.2.3-70-g09d2