diff --git a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp index bbf38ad17c..ec21ff89d5 100644 --- a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp +++ b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp @@ -52,9 +52,12 @@ bool ImageViewRGB32::save(const std::string& path) const{ #endif #ifdef PA_IMAGE_BACKEND_OpenCV return OpenCV_save_image(*this, path); -} - #endif +#ifdef PA_IMAGE_BACKEND_None + return false; +#endif + +} #ifdef PA_IMAGE_BACKEND_Qt