From 48260e2479da9bf2dc7ad94ef6a3b48cf9628e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 23 Jul 2013 01:18:57 +0200 Subject: [PATCH] Assert instead of returning empty list in Context::supportedExtensions(). --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context.cpp b/src/Context.cpp index 1b7f9d72e..eb3b97165 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -288,7 +288,7 @@ const std::vector& Extension::extensions(Version version) { #endif } - return empty; + CORRADE_ASSERT_UNREACHABLE(); } Context* Context::_current = nullptr;