From a56f7730b1935832b3c33f44b17783fc05613174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 31 Mar 2013 20:31:57 +0200 Subject: [PATCH] Trade: default-constructed pair is equivalent to that. --- src/Trade/AbstractImageConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Trade/AbstractImageConverter.cpp b/src/Trade/AbstractImageConverter.cpp index 23b3efeac..bb743ff92 100644 --- a/src/Trade/AbstractImageConverter.cpp +++ b/src/Trade/AbstractImageConverter.cpp @@ -41,9 +41,9 @@ Image2D* AbstractImageConverter::convertToImage(const Image2D* const) const { std::pair AbstractImageConverter::convertToData(const Image2D* const) const { CORRADE_ASSERT(features() & Feature::ConvertToData, - "Trade::AbstractImageConverter::convertToData(): feature advertised but not implemented", std::make_pair(nullptr, 0)); + "Trade::AbstractImageConverter::convertToData(): feature advertised but not implemented", {}); - CORRADE_ASSERT(false, "Trade::AbstractImageConverter::convertToData(): feature not implemented", std::make_pair(nullptr, 0)); + CORRADE_ASSERT(false, "Trade::AbstractImageConverter::convertToData(): feature not implemented", {}); } bool AbstractImageConverter::convertToFile(const Image2D* const, const std::string&) const {