From 3f86bce4ffbfa35457b113276634f67c2ecb6363 Mon Sep 17 00:00:00 2001 From: Dzhoshkun Ismail Shakir Date: Fri, 12 Apr 2019 15:52:57 +0100 Subject: [PATCH] Issue #87: using old-style logical ops in RgbToBgraConverter class --- src/epiphansdk/rgb_to_bgra_converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epiphansdk/rgb_to_bgra_converter.cpp b/src/epiphansdk/rgb_to_bgra_converter.cpp index 641e2b79..6f2dc5c2 100644 --- a/src/epiphansdk/rgb_to_bgra_converter.cpp +++ b/src/epiphansdk/rgb_to_bgra_converter.cpp @@ -50,7 +50,7 @@ void RgbToBgraConverter::set_frame_dimensions(size_t width, { assert(width > 0); assert(height > 0); - if (_width == width and _height == height) + if (_width == width && _height == height) return; _width = width;