From ae9b5e00989756bb676429530dfe81039009001c Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sun, 20 Aug 2017 19:37:29 +0200 Subject: Modernize code: very last fixes (#6290) Last modernization fixes --- src/mg_decoration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mg_decoration.cpp') diff --git a/src/mg_decoration.cpp b/src/mg_decoration.cpp index 4e53e037f..db640626d 100644 --- a/src/mg_decoration.cpp +++ b/src/mg_decoration.cpp @@ -286,7 +286,7 @@ void DecoSimple::resolveNodeNames() size_t DecoSimple::generate(MMVManip *vm, PcgRandom *pr, v3s16 p) { // Don't bother if there aren't any decorations to place - if (c_decos.size() == 0) + if (c_decos.empty()) return 0; if (!canPlaceDecoration(vm, p)) -- cgit v1.2.3