From 1c1c97cbd1d7913ac12bf550ec02c97f843a0fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Sun, 20 Aug 2017 13:30:50 +0200 Subject: Modernize source code: last part (#6285) * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes --- src/sky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sky.cpp') diff --git a/src/sky.cpp b/src/sky.cpp index 0bc344b3f..02e882592 100644 --- a/src/sky.cpp +++ b/src/sky.cpp @@ -460,7 +460,7 @@ void Sky::render() driver->drawVertexPrimitiveList(vertices, SKY_STAR_COUNT * 4, indices, SKY_STAR_COUNT, video::EVT_STANDARD, scene::EPT_QUADS, video::EIT_16BIT); - } while(0); + } while(false); // Draw far cloudy fog thing below east and west horizons for (u32 j = 0; j < 2; j++) { -- cgit v1.2.3