From 1d48f20bcb96893777c423f4bec19bd4e3faf6f7 Mon Sep 17 00:00:00 2001 From: Maksim Andrianov Date: Fri, 10 Aug 2018 16:41:13 +0300 Subject: Fixed build(removed const), fixed warnings --- drape/render_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drape/render_state.cpp') diff --git a/drape/render_state.cpp b/drape/render_state.cpp index 2a1063e148..ca55f3a95f 100644 --- a/drape/render_state.cpp +++ b/drape/render_state.cpp @@ -20,7 +20,7 @@ glConst DecodeDepthFunction(DepthFunction depthFunction) case DepthFunction::GreatOrEqual: return gl_const::GLGreatOrEqual; case DepthFunction::Always: return gl_const::GLAlways; } - ASSERT(false, ()); + CHECK_SWITCH(); } } // namespace -- cgit v1.2.3